How To Update An Android App If You Lose Keystore File?
Solution 1:
Following are the steps to generate new keystores with the help of Google Play Console.
Step 1. First of all Goto this Link [https://support.google.com/googleplay/android-developer/contact/otherbugs] in which they are asking about
- First Name
- Last Name
- Email Address
- Developer Name
- Developer Account ID
- Location
- App Name
- App Package name
and select your issues in the context of mine i select(I have a key or keystore related issue-->I have an upload key-related issue-->I lost my upload key).
After Submitting our request they Send us Email in which they are telling that we have to do two steps-
In first step we open our command window in a specific folder and copy this below command and hit enter
keytool -genkeypair -alias upload -keyalg RSA -keysize 2048 -validity 9125 -keystore keystore.jks
after hitting enter we have to put key and password. it will generate .jks file
In Second step copy second query and paste it into command window and hit enter now it will generate a .pem
keytool -export -rfc -alias upload -file upload_certificate.pem -keystore keystore.jks
Step 3.
Now in the reply of email that Google Help Center send us attach .pem file
Step 4.
Now they register our new generated key but it will give some days to be valid.
Step 5.
Now Create signed apk with that key and upload to play store.
Solution 2:
You can't.
You'll need to release a new app with a new play store entry.
When you sign your APKs yourself, as soon as you upload any signed APK to the Google Play Store, all further uploads will require the same signing key.
This is also true if you upload an APK to the internal, alpha or beta test channels even without publishing the tests. Just the upload of the first APK will lock you in.
Post a Comment for "How To Update An Android App If You Lose Keystore File?"