天天看點

360加強簽名驗證_360加強需要簽名和密碼

換成自己的keystore以後打包失敗,顯示這樣的錯誤:安裝包制作開始

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] äºå移å¨ç«¯

[signjar] Signing JAR: 安裝包制作目錄bin/Pandora-unsigned.apk to 安裝包制作目錄bin/Pandora-signed-t.apk as äºå移å¨ç«¯

[signjar] jarsigner: Certificate chain not found for: äºå移å¨ç«¯. äºå移å¨ç«¯ must reference a valid KeyStore key entry containing a private key and corresponding public key certificate chain.

BUILD FAILED

安裝包制作目錄build.xml:359: jarsigner returned: 1

Total time: 20 seconds

2017-01-05 10:42