how to recover keystore file Android
I run this command for my newly created keystore( with the existing keystore file).
keytool -list -keystore
C:\Users\AndroidStudioProjects\keystore.jks
then I got all alias with SHA-1 for the keystore file.
Enter keystore password:
Keystore type: JKS Keystore provider: SUN
Your keystore contains 3 entries
newkey, Oct 30, 2017, PrivateKeyEntry, Certificate fingerprint (SHA1):
R5:55:9V:12:5B:91:4C:01:92:D0:21:AE:A7:78:E7:9B:F3:80:8C:89 key1,
Sep 6, 2017, PrivateKeyEntry, Certificate fingerprint (SHA1):
0C:1A:B7:EE:32:B7:AF:MD:14:12:D9:44:3A:02:C6:B6:58:30:AA:E3 appkey,
Oct 30, 2017, PrivateKeyEntry, Certificate fingerprint (SHA1):
14:DB:9F:C4:00:D1:C3:34:81:A0:EE:27:8E:24:4E:68:45:AF:BM:50
So, now I have all the alias with their Certificate fingerprints (SHA1). My app was signed list time on Sep 6.
But the problem was the password which I also have forgotten.
Thanks to this answer. As I am a window user I navigated through
AndroidStudio>system>log>idea.
I searched in idea file created on Sep 6. Here I found the password as well as alias.
After that, I generated my signed APK with the alias and password.
Successfully updated my APK on google play!!
Lost my keystore for uploaded app on android market
There's no way to recover your key. I once accidently deleted mine and faced the same problem. I ended up emailing the few users who had already purchased my app about my mistake and told them to let me know who they are and that I would refund their purchase of the app again, if that's what they wanted. Since then, I've made several copies of my key. Once again, there is no way to recover this.
On the other hand, you could try doing a system restore, on your computer, to a previous date in which you haven't misplaced or deleted your key yet.
Android keystore stopped working
I may have had the same problem. I never did figure out why it was failing (though I wonder if it was because the keystore password was shorter than 6 digits), but I was able to copy my key into a new keystore, which I then renamed to replace the old one, and it mysteriously worked after that (using the new passwords). Needed the key password, by the way. Working off https://security.stackexchange.com/a/3795, I did the following:
keytool -importkeystore -srckeystore old.keystore -destkeystore new.keystore -v
- Entered the new keystore password twice
- Hit Enter when it asked me for the source keystore password (left it blank)
- Entered the key password
After double-checking that the new one worked, I just copied it over the old one. Hope it works for you; good luck.
Related Topics
How to Add External Fonts to Android Application
Whatsapp Message Layout - How to Get Time-View in the Same Row
Android Gradle: Buildtoolsversion VS Compilesdkversion
Android: Last Line of Textview Cut Off
Clear Recent Apps Wipe the Apps Memory and My Receiver Stopped Working
How to Monitor Sim State Change
How to Display More Than 3- Levels of Expandable List View
Set Width to Match Constraints in Constraintlayout
Android, How to Create Option Menu
Android Intent.Getstringextra() Returns Null
Android: Permission Denial: Starting Intent with Revoked Permission Android.Permission.Camera
Getactionbar() Returns Null (Appcompat-V7 21)
How to Change Fragment's Textview's Text from Activity
How Does Native Android Code Written for Arm Run on X86
Programmatically Add View One Below Other in Relative Layout