1***@qq.com
1***@qq.com
  • 发布:2018-08-10 09:49
  • 更新:2018-08-21 16:26
  • 阅读:1617

昨晚开始,云端打包失败

分类:HBuilder

同样的代码,昨晚开始就没法云打包了,就连官方案例都没法云打包,一样的错误提示

[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  
2018-08-10 09:49 负责人:无 分享
已邀请:

最佳回复

DCloud_App_Array

DCloud_App_Array

alpha打包机临时出现故障引起,现已修复,请重新提交打包。

Trust

Trust - 少说废话

在处理

gsgundam

gsgundam

目前还是无法打包,求助

manifest.plus.plugins.push.igexin;manifest.plus.plugins.statics.umeng;manifest.plus.plugins.ad.dcloud;  
Buildfile: 安装包制作目录build.xml  

Copy_Ressource:  
     [echo] Copy app resource.   
     [echo]           
     [echo] assets  
     [echo]           

init:  
     [echo] Init output directory.....  
     [echo]           

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/build-tools/25.0.3/aapt  
     [echo]           

aidl:  
     [echo]   
     [echo]             Compiling aidl files into Java classes...  
     [echo]           

compile:  
     [echo]   
     [echo]             outdir-classes = bin/classes  
     [echo]              android-jar = /srv/android/sdk/platforms/android-21/android.jar  
     [echo]              external = libs  
     [echo]           
    [javac] 安装包制作目录build.xml:185: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds  
    [javac] Compiling 90 source files to 安装包制作目录bin/classes  
    [javac]   
    [javac]           WARNING  
    [javac]   
    [javac] The -source switch defaults to 1.8 in JDK 1.8.  
    [javac] If you specify -target 1.6 you now must also specify -source 1.6.  
    [javac] Ant will implicitly add -source 1.6 for you.  Please change your build file.  
    [javac] Note: Some input files use or override a deprecated API.  
    [javac] Note: Recompile with -Xlint:deprecation for details.  
    [javac] Note: Some input files use unchecked or unsafe operations.  
    [javac] Note: Recompile with -Xlint:unchecked for details.  

dex:  
     [echo]   
     [echo]             Converting compiled files and external libraries into bin/classes.dex...  
     [echo]           

package-res:  

package-res-and-assets:  
     [echo]   
     [echo]             Packaging resources and assets...  
     [echo]           

release:  
     [echo]   
     [echo]             Packaging Pandora-unsigned.apk for release...  
     [echo]           
     [echo]   
     [echo]             安装包制作目录Pandora-unsigned.apk  
     [echo]           
     [echo]   
     [echo]             安装包制作目录bin/Pandora.ap_  
     [echo]           
     [echo]   
     [echo]             安装包制作目录classes.dex  
     [echo]           
     [echo]   
     [echo]             安装包制作目录libs  
     [echo]           
     [java]   
     [java] THIS TOOL IS DEPRECATED. See --help for more information.  
     [java]   
     [echo]   
     [echo]             It will need to be signed with jarsigner before being published.  
     [echo]           

add-subdex-toapk:  
     [echo] Add Subdex to Apk ...  

aapt-add-dex:  
     [echo] 安装包制作目录classes.dex  
     [echo] classes.dex is not handle  

jarsigner:  
     [echo] lalalal  
     [echo] 安装包制作目录Pandora-signed-t.apk  
     [echo] 安装包制作目录Pandora-unsigned.apk  
     [echo] ./google-keystore.keystore  
     [echo] dashgame  
  [signjar] Signing JAR: 安装包制作目录Pandora-unsigned.apk to 安装包制作目录Pandora-signed-t.apk as dashgame  
  [signjar] jarsigner error: java.lang.RuntimeException: certificate exception: Unable to initialize, java.io.IOException: DerInputStream.getLength(): Redundant length bytes foundBUILD FAILED  
安装包制作目录build.xml:422: jarsigner returned: 1  

Total time: 1 minute 20 seconds  
BuildConfigure Failed 20015  

BuildConfigure Failed 20015

该问题目前已经被锁定, 无法添加新回复