14

I have created a test app on Play store, to test out the Google Play Signing functions. As soon as I create the test app and enabled the feature, I had access to "Deployment Certificate". I didn't download it or used it in any way. Following are the steps I followed:

  1. Then using Android Studio, I create a new keystore, giving it a password and created an alias with a password (as usual).
  2. Signed the app with keystore created in step 1 Uploaded the app to Google Play store.
  3. Downloaded the Upload Key certificate. Added the Upload Key certificate to my keystore created in step 1 using command keytool.exe -importcert -file upload.der -keystore mykeystore.keystore
  4. Check if it is added to keystore using command keytool.exe -list -keystore mykeystore.keystore. There are now two alias, a new alias (named mykey) added in step 3. It is of the type trusted certificate.

Now as "Trusted certificate entries are not password-protected", without an alias password Android Studio does not allow me to sign the app and of course I cannot use a random password as they are "not password-protected". how do I use it to sign my apk for future updates? Am I missing something crucial here or my understanding is incorrect?

Atif Farrukh
  • 2,121
  • 2
  • 22
  • 46

1 Answers1

-1

Use Upload Certificate,upload_cert.der, not App Signing Certificate deployment_cert.der. You can download it in Google Play Console right under App Signing Certificate.

Trent Steele
  • 142
  • 1
  • 5