android签名命令

1、打完包后签名

jarsigner -verbose -keystore ChangeBackgroundWidget.keystore -signedjar ChangeBackgroundWidget_signed.apk ChangeBackgroundWidget.apk {alias}

 

{alias}为keystore的别名

 

2、签名后字节对齐

 

zipalign -v 4 ChangeBackgroundWidget_signed.apk  ChangeBackgroundWidget_signed_aligned.apk

 

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