|
发表于 2019-6-26 15:05:45
|
显示全部楼层
本帖最后由 Fancye 于 2019-6-26 15:08 编辑
MAC 笔记本打包Android报错,打包 IOS 正常。- FAILURE: Build failed with an exception.
-
- * What went wrong:
- Execution failed for task ':processReleaseResources'.
- > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Users/computech/Desktop/WeX5_V3.6-mac/tools/adt-sdk/build-tools/22.0.1/aapt'' finished with non-zero exit value 1
-
- * Try:
- Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
- :processReleaseResources FAILED
-
- BUILD FAILED
-
- Total time: 14.808 secs
- ERROR building one of the platforms: Error: /Users/computech/Desktop/WeX5_V3.6-mac/model/Native/千里眼(240.11)/build/src/platforms/android/cordova/build: Command failed with exit code 1
- You may not have the required environment or OS to build this project
-
- /Users/computech/Desktop/WeX5_V3.6-mac/model/Native/千里眼(240.11)/build/src/platforms/android/cordova/node_modules/q/q.js:126
- throw e;
- ^
- Error code 1 for command: /Users/computech/Desktop/WeX5_V3.6-mac/model/Native/千里眼(240.11)/build/src/platforms/android/gradlew with args: cdvBuildRelease,-b,/Users/computech/Desktop/WeX5_V3.6-mac/model/Native/千里眼(240.11)/build/src/platforms/android/build.gradle,-Dorg.gradle.daemon=true,--offline
- Error: /Users/computech/Desktop/WeX5_V3.6-mac/model/Native/千里眼(240.11)/build/src/platforms/android/cordova/build: Command failed with exit code 1
- ****ERROR****: 子任务 "exec" 执行失败。
- ****ERROR****: 任务 "buildAndroid" 执行失败。
- ****ERROR****: 执行出错:
- ****ERROR****: 错误信息: exec returned: 1
- ****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
- /var/folders/bv/_sm2_5_519xdmsgk8s5yz1sm0000gn/T/ec58a4bc-9375-483b-b9ec-3c20b427225b/pack.xml:88: exec returned: 1
- at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:643)
- at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)
- at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:495)
- at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
- at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:497)
- at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
- at org.apache.tools.ant.Task.perform(Task.java:348)
- at org.apache.tools.ant.Target.execute(Target.java:435)
- at org.apache.tools.ant.Target.performTasks(Target.java:456)
- at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
- at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
- at com.justep.deploy.app.utils.BuildHelper.execTask(Unknown Source)
- at com.justep.deploy.app.utils.Builder.main(Unknown Source)
- ****ERROR****: 子任务 "java" 执行失败。
- ****ERROR****: 任务 "pack" 执行失败。
- ****ERROR****: 执行出错:
- ****ERROR****: 错误信息: Java returned: 253
- ****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
复制代码
|
|