I too had this similar problem!
There are a few ways to find the password :
- Using the logs file of android studio
- Using the taskArtifacts
- Using bruteforce
Detailed answer is mentioned in http://techzog.com/development/android/retrieve-saved-keystore-password-android-studio/
If none of the above works, there's a way to reset the keystore password!
The code is available here
Download the zip file here.
Install JAVA into your computer
Keep all the files(the keystore, extracted java files) in one folder
Open Command Prompt there. (Shift + RightClick -> Open command window here)
Run javac ChangePassword.java
Run java ChangePassword
e.g. java ChangePassword oldkey.jks newkey.jks
Enter a password when asked. Remember the new password for the new jks file.
Open jks file using the new password