离子发布android apk签名错误

时间:2016-11-17 21:08:16

标签: android cordova ionic-framework

当我运行jarsigner时,它会给出时间戳错误。

jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore android-release-unsigned.apk alias_name

错误:

No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2044-04-04) or after any future revocation date.

1 个答案:

答案 0 :(得分:0)

添加" -tsa http://timestamp.digicert.com"到了逗号结束时解决了这个问题。

jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore android-release-unsigned.apk alias_name -tsa http://timestamp.digicert.com
相关问题