诗小柒
诗小柒
  • 发布:2018-07-03 09:59
  • 更新:2018-07-03 11:41
  • 阅读:1161

【报Bug】hbuilder 设置自定义基座包打包报错

分类:HBuilder

详细问题描述
hbuilder 安卓 设置自定义基座包打包报错

重现步骤
[步骤]
[结果]
[期望]

运行环境
[系统版本]
[浏览器版本]
[IDE版本] HBuilder 9.1.0.201806222137-alpha
[mui版本]

附件
错误日志

安装包制作开始  

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: 安装包制作目录${app.output}  

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: ${android.buildtools}/aapt  
     [echo]           

     [copy] Warning: 安装包制作目录${app.source} does not exist.  

BUILD FAILED  
安装包制作目录build.xml:145: Execute failed: java.io.IOException: Cannot run program \"${android.buildtools}/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

联系方式
[QQ]
[电话]

2018-07-03 09:59 分享
已邀请:
DCloud_App_Array

DCloud_App_Array

此问题已修复,请重新提交云端打包。

要回复问题请先登录注册