I am facing an issue while making a signed apk, it keep on saying cannot recover key. Keystore is working fine, it is generating SHA keys and showing key alias as well, when I enter wrong password it shows wrong verification code. Signed apk get generated when I make new keystore, but I want to update my app on Google play using the same keystore.
I am stuck in it please help me out of it.
After a long time searching on the internet, I found a solution to my problem which did the trick.
keytool -storepasswd -new [insert new keystore password] -keystore [insert keystore file name]
keytool -keypasswd -alias [insert alias] -new [insert new key password] -keystore [insert keystore file name]
I just change the password of my KeyStore and KeyAlias and suddenly it generates the signed apk for me.