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

QQ登录

只需一步,快速开始

查看: 2433|回复: 1

[处理中3] 小白,App 安卓打包失败,求帮助

[复制链接]

2

主题

3

帖子

13

积分

新手上路

Rank: 1

积分
13
QQ
发表于 2019-10-6 17:53:23 | 显示全部楼层 |阅读模式
Total time: 12.246 secs      Subproject Path: CordovaLib      Subproject Path: JustepGetContent      NDK is missing a "platforms" directory.      If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to D:\504\WeX5_V3.8\tools\adt-sdk\ndk-bundle.      If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.            The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.              at build_2x415bfnlt9crmwuxaiv9np20.run(D:\504\WeX5_V3.8\model\Native\锟斤拷应锟斤拷锟斤拷锟斤拷\build\src\platforms\android\build.gradle:149)      NDK is missing a "platforms" directory.      If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to D:\504\WeX5_V3.8\tools\adt-sdk\ndk-bundle.      If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.                  FAILURE: Build failed with an exception.            * Where:      Build file 'D:\504\WeX5_V3.8\model\Native\锟斤拷应锟斤拷锟斤拷锟斤拷\build\src\platforms\android\CordovaLib\build.gradle' line: 87            * What went wrong:      A problem occurred evaluating project ':CordovaLib'.      > build_mi5gl8nylccb46yqbra57n76$_run_closure3$_closure13$_closure14$_closure15$_closure16$_closure19            * Try:      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.            BUILD FAILED            Total time: 15.286 secs      Error: cmd: Command failed with exit code 1 Error output:      FAILURE: Build failed with an exception.            * Where:      Build file 'D:\504\WeX5_V3.8\model\Native\锟斤拷应锟斤拷锟斤拷锟斤拷\build\src\platforms\android\CordovaLib\build.gradle' line: 87            * What went wrong:      A problem occurred evaluating project ':CordovaLib'.      > build_mi5gl8nylccb46yqbra57n76$_run_closure3$_closure13$_closure14$_closure15$_closure16$_closure19            * Try:      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.   ****ERROR****: 子任务 "exec" 执行失败。   ****ERROR****: 任务 "buildAndroid" 执行失败。   ****ERROR****: 执行出错:   ****ERROR****: 错误信息: exec returned: 1   ****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html   C:\Users\ADMINI~1\AppData\Local\Temp\e8dd4df4-fca9-48ce-ba07-432647d9a674\pack.xml:91: 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: -3****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36064
发表于 2019-10-8 10:09:52 | 显示全部楼层
把Native\自己的应用目录\log\build.log文件发一下
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-22 12:57 , Processed in 0.056612 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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