Mac系統(tǒng)下對apk進行簽名
jarsigner -verbose -keystore [您的私鑰存放路徑] -signedjar [簽名后文件存放路徑] [未簽名的文件路徑] [您的證書名稱]
簡單實例:
jarsigner -verbose -keystore /Users/huangkangfa/documents/apps_jks/jizhikeji.jks -signedjar /Users/huangkangfa/documents/resign/com.wayoukeji.android.jizhihome_legu_sign.apk? /Users/huangkangfa/documents/resign/com.wayoukeji.android.jizhihome_legu.apk? jizhikeji