How to export old android certificate and update play store

This is the code to convert old android key.pk8 to android keystone. For example you have the certificate.pem and and key.pk8 of your old android apps.. How to convert to the new android keystore to upload your apps to Google Play store.?

Step 1: Download and install OpenSSL.

Step 2: Open terminal or command prompt and go to the directory where the .pem and .cer files are stored.

>openssl pkcs8 -inform DER -nocrypt -in key.pk8 -out key.pem
> openssl pkcs12 -export -in certificate.pem -inkey key.pem -out platform.p12 -password pass:yourandroidpassword -name yourkey
> keytool -importkeystore -deststorepass yourpassword -destkeystore .keystore -srckeystore platform.p12 -srcstoretype PKCS12 -srcstorepass yourandroidpassword
> keytool -list -v -keystore .keystore

Make sure you change the password to your own password.. And backup the old key and certificate to a safe location. You cannot upload the same apps if you lose the key and certificate password on Google Play.

Step 3: After successful imported, can now use the generated .keystore file in the Android Developer Tools to export the your old android apps.

Step 4: Open Android ADT, open the project files and edit the android manifest version number. Increase your version number to avoid upload failed in Play Store.

Upload failed

You need to use a different version code for your APK because you already have one with version code 2.

Step 5: Goto Android ADT and Click File -> Export. Select Export Android Application.

Step 6: Use existing keystone and browse the generated keystone in the previous step.

Step 7: Enter the password and the key password. (use define password in the previous step) - default is password and android.

Step 8: Finally, upload the latest version of your app APK to play store.

How to export old android certificate and update play store How to export old android certificate and update play store Reviewed by Admin on 8:49 AM Rating: 5

No comments:

Powered by Blogger.