智联创想
智联创想
  • 发布:2016-08-15 12:28
  • 更新:2016-08-15 12:45
  • 阅读:2691

Mui 项目 打包一直提示“打包失败” 就算我什么都不修改。打包还是失败的.. 帮忙看看谢谢..

分类:HBuilder

安装包制作开始

cd 安装包制作目录[BASE] && ant
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: SDK目录build-tools/android-4.4/aapt
[echo]

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

compile:
[echo]
[echo] outdir-classes = bin/classes
[echo] android-jar = SDK目录platforms/android-19/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 2 source files to 安装包制作目录bin/classes

dex:
[echo]
[echo] Converting compiled files and external libraries into bin/classes.dex...
[echo]
[apply] warning: Ignoring InnerClasses attribute for an anonymous inner class
[apply] (com.iflytek.msc.c.b) that doesn't come with an
[apply] associated EnclosingMethod attribute. This class was probably produced by a
[apply] compiler that did not target the modern .class file format. The recommended
[apply] solution is to recompile the class from source, using an up-to-date compiler
[apply] and without specifying any "-target" type options. The consequence of ignoring
[apply] this warning is that reflective operations on this class will incorrectly
[apply] indicate that it is not an inner class.
[apply] warning: Ignoring InnerClasses attribute for an anonymous inner class
[apply] (com.iflytek.msc.c.d) that doesn't come with an
[apply] associated EnclosingMethod attribute. This class was probably produced by a
[apply] compiler that did not target the modern .class file format. The recommended
[apply] solution is to recompile the class from source, using an up-to-date compiler
[apply] and without specifying any "-target" type options. The consequence of ignoring
[apply] this warning is that reflective operations on this class will incorrectly
[apply] indicate that it is not an inner class.
[apply] warning: Ignoring InnerClasses attribute for an anonymous inner class
[apply] (com.iflytek.msc.c.e) that doesn't come with an
[apply] associated EnclosingMethod attribute. This class was probably produced by a
[apply] compiler that did not target the modern .class file format. The recommended
[apply] solution is to recompile the class from source, using an up-to-date compiler
[apply] and without specifying any "-target" type options. The consequence of ignoring
[apply] this warning is that reflective operations on this class will incorrectly
[apply] indicate that it is not an inner class.
[apply] warning: Ignoring InnerClasses attribute for an anonymous inner class
[apply] (com.iflytek.a.d) that doesn't come with an
[apply] associated EnclosingMethod attribute. This class was probably produced by a
[apply] compiler that did not target the modern .class file format. The recommended
[apply] solution is to recompile the class from source, using an up-to-date compiler
[apply] and without specifying any "-target" type options. The consequence of ignoring
[apply] this warning is that reflective operations on this class will incorrectly
[apply] indicate that it is not an inner class.
[apply] warning: Ignoring InnerClasses attribute for an anonymous inner class
[apply] (com.iflytek.speech.d) that doesn't come with an
[apply] associated EnclosingMethod attribute. This class was probably produced by a
[apply] compiler that did not target the modern .class file format. The recommended
[apply] solution is to recompile the class from source, using an up-to-date compiler
[apply] and without specifying any "-target" type options. The consequence of ignoring
[apply] this warning is that reflective operations on this class will incorrectly
[apply] indicate that it is not an inner class.
[apply] warning: Ignoring InnerClasses attribute for an anonymous inner class
[apply] (com.iflytek.speech.e) that doesn't come with an
[apply] associated EnclosingMethod attribute. This class was probably produced by a
[apply] compiler that did not target the modern .class file format. The recommended
[apply] solution is to recompile the class from source, using an up-to-date compiler
[apply] and without specifying any "-target" type options. The consequence of ignoring
[apply] this warning is that reflective operations on this class will incorrectly
[apply] indicate that it is not an inner class.
[apply] warning: Ignoring InnerClasses attribute for an anonymous inner class
[apply] (com.iflytek.speech.h) that doesn't come with an
[apply] associated EnclosingMethod attribute. This class was probably produced by a
[apply] compiler that did not target the modern .class file format. The recommended
[apply] solution is to recompile the class from source, using an up-to-date compiler
[apply] and without specifying any "-target" type options. The consequence of ignoring
[apply] this warning is that reflective operations on this class will incorrectly
[apply] indicate that it is not an inner class.
[apply] warning: Ignoring InnerClasses attribute for an anonymous inner class
[apply] (com.iflytek.speech.i) that doesn't come with an
[apply] associated EnclosingMethod attribute. This class was probably produced by a
[apply] compiler that did not target the modern .class file format. The recommended
[apply] solution is to recompile the class from source, using an up-to-date compiler
[apply] and without specifying any "-target" type options. The consequence of ignoring
[apply] this warning is that reflective operations on this class will incorrectly
[apply] indicate that it is not an inner class.
[apply] warning: Ignoring InnerClasses attribute for an anonymous inner class
[apply] (com.iflytek.ui.b) that doesn't come with an
[apply] associated EnclosingMethod attribute. This class was probably produced by a
[apply] compiler that did not target the modern .class file format. The recommended
[apply] solution is to recompile the class from source, using an up-to-date compiler
[apply] and without specifying any "-target" type options. The consequence of ignoring
[apply] this warning is that reflective operations on this class will incorrectly
[apply] indicate that it is not an inner class.
[apply] warning: Ignoring InnerClasses attribute for an anonymous inner class
[apply] (com.iflytek.ui.n) that doesn't come with an
[apply] associated EnclosingMethod attribute. This class was probably produced by a
[apply] compiler that did not target the modern .class file format. The recommended
[apply] solution is to recompile the class from source, using an up-to-date compiler
[apply] and without specifying any "-target" type options. The consequence of ignoring
[apply] this warning is that reflective operations on this class will incorrectly
[apply] indicate that it is not an inner class.
[apply] warning: Ignoring InnerClasses attribute for an anonymous inner class
[apply] (com.iflytek.ui.p) that doesn't come with an
[apply] associated EnclosingMethod attribute. This class was probably produced by a
[apply] compiler that did not target the modern .class file format. The recommended
[apply] solution is to recompile the class from source, using an up-to-date compiler
[apply] and without specifying any "-target" type options. The consequence of ignoring
[apply] this warning is that reflective operations on this class will incorrectly
[apply] indicate that it is not an inner class.
[apply] warning: Ignoring InnerClasses attribute for an anonymous inner class
[apply] (com.iflytek.ui.l) that doesn't come with an
[apply] associated EnclosingMethod attribute. This class was probably produced by a
[apply] compiler that did not target the modern .class file format. The recommended
[apply] solution is to recompile the class from source, using an up-to-date compiler
[apply] and without specifying any "-target" type options. The consequence of ignoring
[apply] this warning is that reflective operations on this class will incorrectly
[apply] indicate that it is not an inner class.
[apply] warning: Ignoring InnerClasses attribute for an anonymous inner class
[apply] (com.iflytek.ui.m) that doesn't come with an
[apply] associated EnclosingMethod attribute. This class was probably produced by a
[apply] compiler that did not target the modern .class file format. The recommended
[apply] solution is to recompile the class from source, using an up-to-date compiler
[apply] and without specifying any "-target" type options. The consequence of ignoring
[apply] this warning is that reflective operations on this class will incorrectly
[apply] indicate that it is not an inner class.
[apply] warning: Ignoring InnerClasses attribute for an anonymous inner class
[apply] (com.iflytek.ui.k) that doesn't come with an
[apply] associated EnclosingMethod attribute. This class was probably produced by a
[apply] compiler that did not target the modern .class file format. The recommended
[apply] solution is to recompile the class from source, using an up-to-date compiler
[apply] and without specifying any "-target" type options. The consequence of ignoring
[apply] this warning is that reflective operations on this class will incorrectly
[apply] indicate that it is not an inner class.
[apply] warning: Ignoring InnerClasses attribute for an anonymous inner class
[apply] (com.iflytek.ui.y) that doesn't come with an
[apply] associated EnclosingMethod attribute. This class was probably produced by a
[apply] compiler that did not target the modern .class file format. The recommended
[apply] solution is to recompile the class from source, using an up-to-date compiler
[apply] and without specifying any "-target" type options. The consequence of ignoring
[apply] this warning is that reflective operations on this class will incorrectly
[apply] indicate that it is not an inner class.
[apply] warning: Ignoring InnerClasses attribute for an anonymous inner class
[apply] (com.iflytek.ui.z) that doesn't come with an
[apply] associated EnclosingMethod attribute. This class was probably produced by a
[apply] compiler that did not target the modern .class file format. The recommended
[apply] solution is to recompile the class from source, using an up-to-date compiler
[apply] and without specifying any "-target" type options. The consequence of ignoring
[apply] this warning is that reflective operations on this class will incorrectly
[apply] indicate that it is not an inner class.
[apply] warning: Ignoring InnerClasses attribute for an anonymous inner class
[apply] (com.iflytek.ui.s) that doesn't come with an
[apply] associated EnclosingMethod attribute. This class was probably produced by a
[apply] compiler that did not target the modern .class file format. The recommended
[apply] solution is to recompile the class from source, using an up-to-date compiler
[apply] and without specifying any "-target" type options. The consequence of ignoring
[apply] this warning is that reflective operations on this class will incorrectly
[apply] indicate that it is not an inner class.

package-res:

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

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

jarsigner:
[echo] lalalal
[echo] 安装包制作目录bin/Pandora-signed-t.apk
[echo] 安装包制作目录bin/Pandora-unsigned.apk
[echo] ./google-keystore.keystore
[echo] qintao51xoxo
[signjar] Signing JAR: 安装包制作目录bin/Pandora-unsigned.apk to 安装包制作目录bin/Pandora-signed-t.apk as qintao51xoxo
[signjar] jarsigner: unable to recover key from keystore
[signjar] Enter Passphrase for keystore: Enter key password for qintao51xoxo:

BUILD FAILED
安装包制作目录build.xml:359: jarsigner returned: 1

Total time: 33 seconds

2016-08-15 12:28 负责人:无 分享
已邀请:

最佳回复

BoredApe

BoredApe - 有问题就会有答案。

[signjar] jarsigner: unable to recover key from keystore
[signjar] Enter Passphrase for keystore: Enter key password for qintao51xoxo:

生成的证书有误.


密码1 和密码2应该是一样的

你可以重新生成或者是修改密码一致解决
修改密码参考:http://stackoverflow.com/questions/14606837/cannot-recover-key

智联创想

智联创想 (作者)

我直接建设一个个MUI项目,然后直接打包封装还是不行的,也是提示打包失败...

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