I have searched StackOverflow for a while, but I just wanted to make sure...
I wiped my laptop a while ago, and backed up all my files. I have my android.jks file ba
[Android Studio 3.3] I got the 'cannot recover key' error on generating a signed APK. I was able to check in an older idea.log for the correctness of my password: Key Store and Key passwords were identical and correct.
Updating the key password in the terminal:
keytool -keypasswd -alias MYKEY -keystore KEYSTORE
It seems to be no longer possible to have identical passwords for keystore and key. The keytool gave me an error, when I tried. After setting a different password for the key, Android Studio generated a signed APK.
Maybe, in previous Android Studio versions passwords had to be identical - now it may be the opposite.
If you have eclipse running, try to shut it down and generate a signed apk again.
In my case, I checked that all the passwords are correct and even generated a new key store from Android studio. It still did not work, but after I shut down eclipse that is running, everything just worked, with the old key store I used or with a newly generated one.