同样的代码,昨晚开始就没法云打包了,就连官方案例都没法云打包,一样的错误提示
[HBuilder] 09:46:05.159 时间: 2018-08-10 09:46:05 类型: Android 正在打包
[HBuilder] 09:46:59.875 项目 tlxtool [H546C2B77]打包失败,失败日志:
安装包制作开始
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 个回复
最佳回复
DCloud_App_Array
alpha打包机临时出现故障引起,现已修复,请重新提交打包。
Trust - 少说废话
在处理
gsgundam
目前还是无法打包,求助