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:
- Then using Android Studio, I create a new keystore, giving it a password and created an alias with a password (as usual).
- Signed the app with keystore created in step 1 Uploaded the app to Google Play store.
- 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
- 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?