I'm trying to figure out how to download an application on Google Play using a Google Play subscription.
Here is what I did:
- Application created
- Used by keytool.exe to generate a key for this application.
- App loaded on Google Play
- Registered in Google Play App Signatures
- Try downloading the application again without success.
He complains that the certificate is not a certificate
Download the new APK in Production
Download Error You downloaded an APK that is not signed with a download certificate. You must use the same certificate. The download certificate has a fingerprint: [SHA1: 0C: ...] and the certificate used to sign the APK you downloaded has a fingerprint: [SHA1: 2D: ...]
After searching for a while. Iβll learn how to host a certified version hosted on the Google Play console in my keystore. Something like that:
keytool.exe -importcert -file upload.pem -keystore myapp-release-key.keystore
It seems that the certificate is located. When I list the contents of the keystore, this is what I get:
keytool.exe -list -keystore trackcoachfull-release-key.keystore Enter your keystore password:
Frame Type: JKS Key Supplier: SUN
Your keystore contains 2 entries
myappfull, May 18, 2017, PrivateKeyEntry, Fingerprint Certificate (SHA1): 2D: ... uploadkey, May 19, 2017, trustedCertEntry, Certificate fingerprint (SHA1): 0C: ...
Now that I'm locked ...
In Android Studio, I am trying to generate a signed APK using uploadkey.
Build> Generate Signed APK Select a keystore above Enter a keystore password Select uploadkey as a key alias I can enter a key password.
Error in Android Studio:
Error: execution completed for task ': app: packageFullRelease'.
com.android.ide.common.signing.KeytoolException: Failed to read key download button from repository "C: \ Users \ Admin \ AndroidStudioProjects \ keystore \ myappfull-release-key.keystore": trusted certificate entries are not password protected
My question is:
How do you create an APK signed with a download key provided by Google Play?
thanks
android google-play apk keytool android-app-signing
Ronald
source share