更新时间:2023-10-20 15:09:52
我有同样的问题。下面是对我的作品(通知规范-sigalc MD5withRSA
):
I had the same problem. Here is what works for me (notice the specification of -sigalc MD5withRSA
):
keytool -genkey -alias MyApp -keyalg RSA -keysize 2048 -validity 10000 -keystore sample.keystore
jarsigner -keystore sample.keystore -digestalg SHA1 -sigalg MD5withRSA -tsa http://timestamp.digicert.com unaligned.apk MyApp
~/.meteor/android_bundle/android-sdk/build-tools/21.0.0/zipalign -f -v 4 unaligned.apk myapp.apk