Issue
While trying to sign a new version of a published App via Visual Studio (V16.6.2) i got the error
Keystore was tampered with, or password was incorrect
which was a huge surprise for me since i was quite sure of my password.
What could be the problem?
Solution
After hours of trying different variations of the password i gave a try to a password-recover tool (suggested in a post in Medium) just to find out that the password i was sure about was actually the right one. Yet, the password kept being rejected by Visual Studio, so i did some research and i came to a thread in github where the main post states
Password have the next symbols: @ ^ ] $
then i thought, "ok, my password also has a special symbol: '%'", so, after being sure my password was correct, i opened the adb Command Prompt in Visual Studio
and used keytool command to change both Key Password and Keystore Password (those passwords are the same for keystores created in old Visual Studio versions!):
keytool.exe -keypasswd -alias myalias -keystore "pathtokeystore"
keytool.exe -storepasswd -alias myalias -keystore "pathtokeystore"
By doing so, i changed both passwords (same character combination for both again, so i only have to remember one!), but now without special characters.
VoilĂ ! Now i could sign my app...
Answered By - Julian A. Waldgeister
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.