A few months ago, I generated a keystore for androids with this command:
keytool -genkey -v -keystore my-release-key.keystore -alias myalias -keyalg RSA -keysize 2048 -validity 10000
I entered the password for the keystore and wrote it down in the last step, when it was time to enter the password for the certificate I entered in order to use the same password as the keystore (so I had to remember only one password for the whole process).
After creating this keystore, I signed up my apk for release with this command:
jarsigner -verbose -keystore my-release-key.keystore my.apk myalias
where I entered my password (no problem).
Now I need to press update on apk in the market, and when I try to sign a new apk using the command above, I get "Keystore was changed or the password was incorrect."
I am puzzled, I returned to the backup keystore, and I have the same problem. I am sure that the password is correct. Note that I do not use Eclipse for the process at all (I subscribe from the command line).
What could be the problem? Heeelppp !!
android jar-signing
Damasia Feb 16 2018-12-12T00: 00Z
source share