简体   繁体   中英

When you uploaded an APK that is not signed with the upload certificate; do you have to use the same certificate?

I am using Android Studio and am trying to build a signed apk. I am building a signed apk using the following steps: Module -->app KeyStorePath--> /Users/mshikher/Documents/SchoolCounter/app/Untitled (SchoolCounter is name of the project). After entering the keyStorePassword and keyPassword clicked NEXT. Clicking on both the V1 and V2 versions clicked on Finish. There was earlier an apk uploaded in the play.console by some other person, and now if I try to upload my apk into the production release I get this error.

You uploaded an APK that is not signed with the upload certificate. You must use the same certificate. The upload certificate has fingerprint:
[ SHA1: AA:6F:D6:9E:72:B7:9B:C6:45:63:70:69:66:B4:DA:9B:72:6D:3D:23 ]
and the certificate used to sign the APK you uploaded have fingerprint:
[ SHA1: 88:5D:A7:91:A9:5B:2C:66:DD:ED:13:96:37:49:D6:B7:4D:1E:B0:09 ]
You need to use a different version code for your APK because you already have one with version code 1.

I have changed the version number also in the build.gradle file:

versionName "2.0"

What should I do to upload my apk in the play.google.com ?

This happens when you sign your apk with different Keystore.

You need to use the same keystore for all version you upload on playstore. Please sign your apk with the same keystore you have used to publish the last apk.

For more information please check this link : https://developer.android.com/studio/publish/app-signing.html

You are changing version name versionName "2.0" please change "versionCode" and "version name" both to other so that you can upload it and second thing please select same .jks file

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM