Linux下命令行对未签名的APK进行数字签名和优化


签名:

jarsigner -verbose -keystore wxmz.jks -signedjar books_encrypted_signed.apk books_encrypted.apk wxmz

最后一项wxmz为keystore别名


字节对齐:

zipalign -v 4 /home/yuzw/Documents/apks/bak/books_encrypted_signed.apk /home/yuzw/Documents/apks/bak/books_encrypted_signed_align.apk

你可能感兴趣的:(Linux下命令行对未签名的APK进行数字签名和优化)