I created a keystore, created a key, and then signed my first application. I started downloading the signed APK to the Google Play store, and several people have already downloaded the beta application. Since then I have made some updates for my application and I need to download the new APK. I am using a subscription to the Google Play app. The certificate that I originally signed with my application had a fingerprint [SHA1: 0A: ...: 1A].
I signed an updated version of the application with Same keystore and a key combination. However, when I download a new APK, I get the error message "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: BB: ...: 31], and the certificate, used to sign the APK that you downloaded has a fingerprint: [SHA1: 0A: ...: 1A], "then goes on to talk about fingerprints. Therefore, I believe that my problem is that I signed the APK under the “original” certificate that I created along with the key creation, and now I have to use the “new” certificate from Google Play. I downloaded "Download Certificate" on the "Google Play Console" → "Sign a Subscription" page and confirmedthat the fingerprint matches the fingerprint request in error ([SHA1: BB: ...: 31]).
I imported “Upload Certificate” to my keystore using the terminal command line “keytool -imporcert”. My keystore now has 2 entries: My original entry, which is "PrivateKeyEntry" with a certificate thumbprint [SHA1: 0A: ...: 1A], and then the imported certificate, which is "trustedCertEntry" with a fingerprint [SHA1 BB: ...: 31], the same fingerprint as the boot certificate fingerprint.
Then I tried to sign my APK with the second key specified, which is "trustedCertEntry". I got the error "Could not read key> keyname <from store"> keystore <": trusted certificate entries are not password protected. When signing, I entered the password, despite the fact that it never entered a new key in the password.
, : "" ? Google " ", , . " " APK ", : .
-, ?