[HBuilder] 08:50:19.230 项目 test-uni-app [UNIE42BB55]打包失败,失败日志:
安装包制作开始
cd 安装包制作目录[BASE] && ant
Buildfile: 安装包制作目录build.xml
Copy_Ressource:
[echo] Copy app resource.
[echo]
[echo] assets
[echo]
init:
[echo] Init output directory.....
[echo]
[mkdir] Created dir: 安装包制作目录${output.dir}
dirs:
[echo]
[echo] Creating output directories if needed...
[echo]
[mkdir] Created dir: 安装包制作目录bin/classes
resource-src:
[echo]
[echo] Generating R.java / Manifest.java from the resources...
[echo]
[echo]
[echo] outdir-r path: src
[echo]
[echo]
[echo] aapt path: /srv/android/sdk/tools/aapt
[echo]
[copy] Warning: 安装包制作目录${app.source.path} does not exist.
BUILD FAILED
安装包制作目录build.xml:142: Execute failed: java.io.IOException: Cannot run program \"/srv/android/sdk/tools/aapt\": error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at java.lang.Runtime.exec(Runtime.java:620)
at org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:58)
at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:428)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:442)
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:628)
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:498)
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 org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
at org.apache.tools.ant.Main.runBuild(Main.java:851)
at org.apache.tools.ant.Main.startAnt(Main.java:235)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 23 more
Total time: 0 seconds
BuildConfigure Failed 20015
3 个回复
3***@qq.com
一样的问题。。。
Trust - 少说废话
在处理
DCloud_App_Array
alpha打包机临时出现故障引起,现已修复,请重新提交打包。
1***@qq.com
还是不行呀
2019-08-20 09:55