-
Create new keystore.jks file with comand line (not android studio build menu)
Linux:
keytool -genkeypair -alias upload -keyalg RSA -keysize 2048 -validity 9125 -keystore keystore.jks
Windows:
"C:\Program Files\Android\Android Studio\jre\bin\keytool.exe" -genkeypair -alias upload -keyalg RSA -keysize 2048 -validity 9125 -keystore "C:\keystore_new.jks"
-
Generate a .pem file from new keystore
Linux:
keytool -export -rfc -alias upload -file upload_certificate.pem -keystore keystore.jks
Windows:
"C:\Program Files\Android\Android Studio\jre\bin\keytool.exe" -export -rfc -alias upload -file "C:\upload_cert.pem" -keystore "C:\keystore_new.jks"
-
Use this support form, set "keystore problem" and with attachment add .pem file: https://support.google.com/googleplay/android-developer/contact/otherbugs
-
12-48h you new keystore is enabled. Update your app on playstore with new apk signed with new keystore :D
Forked from ptkdev/android-restore-password-keystore-jks.md
Created
March 28, 2023 15:51
-
-
Save Dev-/c1f14069d4823b760a76b3da858399b5 to your computer and use it in GitHub Desktop.
Android: Recovery lost keystore jks file or keystore password
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment