Mac系统下对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