What kind of pitfals exist for the Android APK signing?

后端 未结 4 784
你的背包
你的背包 2020-12-08 20:45

Disclaimer: I know the basics of signing an APKs and I have a problem with only one of my projects and only when signing with Microsoft Windows as the OS.

4条回答
  •  青春惊慌失措
    2020-12-08 21:15

    The solution from Baqueta works also for me.

    Use these arguments in the keytool:

    -sigalg MD5withRSA -keyalg RSA -keysize 1024 
    

    I am still using there in jarsigner:

    -sigalg MD5withRSA -digestalg SHA1
    

    Thank you, the APK compiled and installed on a device using Java 7, finally!

提交回复
热议问题