当我运行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.
答案 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