2016-11-17 143 views
0

当我运行jarsigner时,它给出时间戳错误。离子发布android apk签名错误

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. 

回答

0

加入 “-tsa http://timestamp.digicert.com” 到commad年底解决了这个问题。

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