简体   繁体   English

当您上传未使用上传证书签名的APK时; 您必须使用相同的证书吗?

[英]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.

相关问题 您上传的 APK 未使用上传证书签名。 您必须使用相同的证书 - You uploaded an APK that is not signed with the upload certificate. You must use the same certificate 您上传的 APK 未使用具有相同密钥库的上传证书签名 - You uploaded an APK that is not signed with the upload certificate with same keystore Google控制台错误您上传了未使用上传证书签名的APK - google console error You uploaded an APK that is not signed with the upload certificate 您上传了未使用上传证书签名的APK - 即使我使用的是Google Play Signing - You uploaded an APK that is not signed with the upload certificate - even though I am using Google Play Signing 您上传了使用受限证书签名的Android应用程序包apk? - you uploaded an apk for android app bundle that is signed with a restricted certificate? 播放商店错误“您上传了使用不安全证书签名的APK” - Play Store Error “You uploaded an APK that is signed with an insecure certificate” 上传了未使用上传证书签名的 APK- - Uploaded an APK that is not signed with the upload certificate- Flutter:您上传的 APK 或 Android App Bundle 已使用上传证书进行签名,该证书最近已重置而无效 - Flutter: You uploaded an APK or Android App Bundle that is signed with an upload certificate that is not yet valid because it has been recently reset 我从ADT切换到Android Studio:您将使用其他证书签名的APK上传到了以前的APK - I switched from ADT to Android Studio: You uploaded an APK that is signed with a different certificate to your previous APKs 如何解决上传的apk错误未使用上传证书签名 - How to resolve an error uploaded apk is not signed with the upload certificate
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM