静候
静候
  • 发布:2017-01-07 18:09
  • 更新:2022-07-27 11:21
  • 阅读:1994

安卓平台使用自己的证书打包失败问题

分类:MUI

请问下是哪里出问题了呢?谢谢啊 小白第一次用!
安装包制作开始

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]

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] android.keystore
[signjar] Signing JAR: 安装包制作目录bin/Pandora-unsigned.apk to 安装包制作目录bin/Pandora-signed-t.apk as android.keystore
[signjar] jarsigner: unable to recover key from keystore
[signjar] Enter Passphrase for keystore: Enter key password for android.keystore:

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

Total time: 56 seconds

2017-01-07 18:09 负责人:无 分享
已邀请:
BoredApe

BoredApe - 有问题就会有答案。

证书密码有问题,请确认

  • 静候 (作者)

    谢谢你!已经解决!

    2017-01-07 22:10

lslwd

lslwd

请问咋解决的呀

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