起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2938|回复: 5

[处理中3] 3.8打包报错

[复制链接]

107

主题

339

帖子

2090

积分

金牌会员

Rank: 6Rank: 6

积分
2090
QQ
发表于 2018-1-13 14:58:22 | 显示全部楼层 |阅读模式
  1. 生成应用环境准备:
  2.       
  3.    android应用环境准备:
  4.       
  5.    ios应用环境准备:
  6.       
  7.    生成android应用包:
  8.       
  9.       You have been opted out of telemetry. To change this, run: cordova telemetry on.
  10.       args.nofetch undefined
  11.       android project rename compelete!!!!!!
  12.       ANDROID_HOME=D:\x5\WeX5_3.8_pre\tools\adt-sdk
  13.       JAVA_HOME=D:\x5\WeX5_3.8_pre\java\jre1.8
  14.       Parallel execution with configuration on demand is an incubating feature.
  15.       :wrapper
  16.       
  17.       BUILD SUCCESSFUL
  18.       
  19.       Total time: 2.758 secs
  20.       Subproject Path: CordovaLib
  21.       Subproject Path: JustepGetContent
  22.       NDK is missing a "platforms" directory.
  23.       If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to D:\x5\WeX5_3.8_pre\tools\adt-sdk\ndk-bundle.
  24.       If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
  25.       
  26.       The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
  27.               at build_8ilgozzkwkii74j5avgigzvhy.run(D:\x5\WeX5_3.8_pre\model\Native\test\build\src\platforms\android\build.gradle:154)
  28.       WARNING: The `android.dexOptions.incremental` property is deprecated and it has no effect on the build process.
  29.       NDK is missing a "platforms" directory.
  30.       If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to D:\x5\WeX5_3.8_pre\tools\adt-sdk\ndk-bundle.
  31.       If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
  32.       
  33.       NDK is missing a "platforms" directory.
  34.       If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to D:\x5\WeX5_3.8_pre\tools\adt-sdk\ndk-bundle.
  35.       If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
  36.       
  37.       Incremental java compilation is an incubating feature.
  38.       
  39.       FAILURE: Build failed with an exception.
  40.       BUILD FAILED
  41.       
  42.       Total time: 8.293 secs
  43.       
  44.       * What went wrong:
  45.       
  46.       A problem occurred configuring root project 'android'.
  47.       > Could not resolve all dependencies for configuration ':_debugApkCopy'.
  48.          > Could not resolve :imagepicker-release:.
  49.            Required by:
  50.                project : > project :CordovaLib
  51.                project : > project :JustepGetContent
  52.             > No cached version of :imagepicker-release: available for offline mode.
  53.             > No cached version of :imagepicker-release: available for offline mode.
  54.       
  55.       * Try:
  56.       Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
  57.       Error: cmd: Command failed with exit code 1 Error output:
  58.       FAILURE: Build failed with an exception.
  59.       
  60.       * What went wrong:
  61.       A problem occurred configuring root project 'android'.
  62.       > Could not resolve all dependencies for configuration ':_debugApkCopy'.
  63.          > Could not resolve :imagepicker-release:.
  64.            Required by:
  65.                project : > project :CordovaLib
  66.                project : > project :JustepGetContent
  67.             > No cached version of :imagepicker-release: available for offline mode.
  68.             > No cached version of :imagepicker-release: available for offline mode.
  69.       
  70.       * Try:
  71.       Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
  72.       Picked up _JAVA_OPTIONS: -Xmx1024M
  73.    ****ERROR****: 子任务 "exec" 执行失败。
  74.    ****ERROR****: 任务 "buildAndroid" 执行失败。
  75.    ****ERROR****: 执行出错:
  76.    ****ERROR****: 错误信息: exec returned: 1
  77.    ****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
  78.    C:\Users\ADMINI~1\AppData\Local\Temp\dc17ce88-f776-4dbc-8cdc-951563d29b5e\pack.xml:91: exec returned: 1
  79.            at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:643)
  80.            at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)
  81.            at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:495)
  82.            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
  83.            at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  84.            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  85.            at java.lang.reflect.Method.invoke(Method.java:497)
  86.            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  87.            at org.apache.tools.ant.Task.perform(Task.java:348)
  88.            at org.apache.tools.ant.Target.execute(Target.java:435)
  89.            at org.apache.tools.ant.Target.performTasks(Target.java:456)
  90.            at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
  91.            at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
  92.            at com.justep.deploy.app.utils.BuildHelper.execTask(Unknown Source)
  93.            at com.justep.deploy.app.utils.Builder.main(Unknown Source)
  94. ****ERROR****: 子任务 "java" 执行失败。
  95. ****ERROR****: 任务 "pack" 执行失败。
  96. ****ERROR****: 执行出错:
  97. ****ERROR****: 错误信息: Java returned: -3
  98. ****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
复制代码


28

主题

140

帖子

182

积分

初级会员

Rank: 2

积分
182
QQ
发表于 2018-1-16 15:06:03 | 显示全部楼层
你的3.8从哪下的??
回复 支持 反对

使用道具 举报

107

主题

339

帖子

2090

积分

金牌会员

Rank: 6Rank: 6

积分
2090
QQ
 楼主| 发表于 2018-1-16 15:13:39 | 显示全部楼层
风水流年 发表于 2018-1-16 15:06
你的3.8从哪下的??

X5官方的百度云
回复 支持 反对

使用道具 举报

28

主题

140

帖子

182

积分

初级会员

Rank: 2

积分
182
QQ
发表于 2018-1-16 15:42:05 | 显示全部楼层

我只看到3.7的。。你能不能给我发一个链接,谢谢
回复 支持 反对

使用道具 举报

107

主题

339

帖子

2090

积分

金牌会员

Rank: 6Rank: 6

积分
2090
QQ
 楼主| 发表于 2018-1-16 16:06:47 | 显示全部楼层
风水流年 发表于 2018-1-16 15:42
我只看到3.7的。。你能不能给我发一个链接,谢谢

http://bbs.wex5.com/forum.php?mo ... &extra=page%3D1
回复 支持 反对

使用道具 举报

发表于 2018-1-17 09:29:48 | 显示全部楼层
可能和环境有关系
建议:先使用杀毒软件清理下环境,然后退出杀毒软件,重新解压版本,打包一下仿途牛案例是否正常?
先保证打包环境是正常的!
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-4-25 21:10 , Processed in 0.076113 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表