Android release keystore issue: “Keystore was tampered with, or password was incorrect”

前端 未结 4 1247
粉色の甜心
粉色の甜心 2021-01-03 04:30

A couple of months ago I generated my android release keystore with this command:

keytool -genkey -v -keystore my-release-key.keystore -alias myalias -keyalg         


        
4条回答
  •  孤独总比滥情好
    2021-01-03 05:09

    The implicit keyalg, digestalg and/or sigalg has changed between different versions of Java and possibly eclipse.

    Use the command line and try a couple different combinations. This worked for me after creating the key with Java 5.0 but upgrading my system to Java 6 jarsigner -verbose -keystore <.keystore> -sigalg MD5withRSA -digestalg SHA1

提交回复
热议问题