[英]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. 我正在使用Android Studio,并试图构建一个已签名的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). 我正在使用以下步骤构建签名的apk:模块-> app KeyStorePath-> / Users / mshikher / Documents / SchoolCounter / app / Untitled(SchoolCounter是项目的名称)。 After entering the keyStorePassword and keyPassword clicked NEXT. 输入keyStorePassword和keyPassword后,单击NEXT。 Clicking on both the V1 and V2 versions clicked on Finish. 在V1和V2版本上单击都单击“完成”。 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. 以前有人在play.console中上传了一个apk,现在如果我尝试将apk上传到生产版本中,我会收到此错误。
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: 我也在build.gradle文件中更改了版本号:
versionName "2.0"
What should I do to upload my apk in the play.google.com ? 我应该怎么做才能将我的APK上传到play.google.com?
This happens when you sign your apk with different Keystore. 当您使用其他密钥库对apk签名时,就会发生这种情况。
You need to use the same keystore for all version you upload on playstore. 您需要对在playstore上载的所有版本使用相同的密钥库。 Please sign your apk with the same keystore you have used to publish the last apk. 请使用与您发布最后一个APK相同的密钥库对您的APK进行签名。
For more information please check this link : https://developer.android.com/studio/publish/app-signing.html 有关更多信息,请检查此链接: 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 您要更改版本名称versionName“ 2.0”,请将“ versionCode”和“版本名称”都更改为其他,以便您可以上传它,第二件事请选择相同的.jks文件
You need to use a different version code for your APK because you already have one with version code 1. 您需要为APK使用其他版本代码,因为您已经有一个版本代码为1的APK。
you need to change version code. 您需要更改版本代码。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.