Android签名

java -Xmx2048m -jar out/host/linux-x86/framework/signapk.jar -w build/target/product/security/testkey.x509.pem build/target/product/security/testkey.pk8 old.apk new.apk


在Window下,整理了一个脚本:sign.bat

java -Xmx1024m -jar signapk.jar -w testkey.x509.pem testkey.pk8 %1 sign_%1

例子:

1. 进入包含以上文件的目录(这些文件包括signapk.jar, testkey.x509.pem, testkey.pk8 xxx.apk)

sign.bat Calculator.apk

则会签名后生成sign_Calculator.apk

你可能感兴趣的:(Android签名)