简体   繁体   English

您上传了未使用上传证书签名的APK - 即使我使用的是Google Play Signing

[英]You uploaded an APK that is not signed with the upload certificate - even though I am using Google Play Signing

Preface: There have been many questions on Stack Overflow about this issue, but my question is unique, because it involves Google Play Signing. 前言:Stack Overflow上有很多关于此问题的问题,但我的问题很独特,因为它涉及Google Play Signing。

I used Google Play Signing to release my app. 我使用Google Play Signing发布了我的应用。 As such, I have never created a keystore ( .jks ) file (at least for this app). 因此,我从未创建过密钥库( .jks )文件(至少对于这个应用程序而言)。 I imagined Google Play Signing would take care of all that for me. 我想象Google Play Signing将会为我完成所有这些工作。

After switching to Linux, from Windows, I tried to release a new update for my app. 从Windows切换到Linux后,我尝试为我的应用发布新的更新。 However, I got the error mentioned in the title. 但是,我收到了标题中提到的错误。

Here is my project's one and only signing config (the path was different on windows - but it still lead to the debug keystore). 这是我的项目唯一的签名配置(路径在Windows上是不同的 - 但它仍然导致调试密钥库)。 I've never created any others. 我从来没有创造过任何其他人。

signingConfigs {
    config {
        keyAlias 'androiddebugkey'
        keyPassword 'android'
        storeFile file('/home/vedantroy/.android/debug.keystore')
        storePassword 'android'
    }
}

What could be the issue? 可能是什么问题? Is there anyway I can continue publishing updates to the app? 无论如何我可以继续发布应用程序的更新吗?

I used Google Play Signing to release my app. 我使用Google Play Signing发布了我的应用。 As such, I have never created a keystore (.jks) file (at least for this app). 因此,我从未创建过密钥库(.jks)文件(至少对于这个应用程序而言)。

Even though Google Play owns the release key of your app, you still had to sign the APK you uploaded to the Play Console. 即使Google Play拥有您应用的发布密钥,您仍然必须在上传到Play控制台的APK中签名。 This is a requirement. 这是一项要求。 You possibly signed with a key auto-generated by your IDE without realising it. 您可能使用IDE自动生成的密钥进行了签名,但没有意识到。 This is what Play Console calls the "upload key". 这就是Play Console称之为“上传密钥”的内容。 Google Play then ensures that every future APK upload is signed with the same key. 然后Google Play会确保每个未来的APK上传都使用相同的密钥进行签名。

It seems that you haven't kept the keystore you used for your first upload when changing computer, but with Google Play signing you can fortunately reset the upload key. 在更换计算机时,您似乎没有保留用于首次上传的密钥库,但通过Google Play签名,您可以幸运地重置上传密钥。 See Create a new upload key . 请参阅创建新的上载密钥

With Google Play Signing you still sign your App with an upload key that must be the same each time. 使用Google Play Signing,您仍然可以使用每次必须相同的上传密钥对您的应用进行签名。 This signature is then checked and replaced by Google. 然后检查此签名并由Google替换。 It is possible to change the upload key in case you have lost it, check the Google Signing site for more info on that. 如果您丢失了上传密钥,可以更改上传密钥,请查看Google Signing网站以获取更多相关信息。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Google控制台错误您上传了未使用上传证书签名的APK - google console error You uploaded an APK that is not signed with the upload certificate 当签名密钥由 Google 生成时,我可以将使用上传密钥签名的 APK+OBB 上传到 Google Play 吗? - Can I upload an APK+OBB signed with upload key to Google Play when the signing key is generated by Google? 播放商店错误“您上传了使用不安全证书签名的APK” - Play Store Error “You uploaded an APK that is signed with an insecure certificate” 您上传的 APK 未使用具有相同密钥库的上传证书签名 - You uploaded an APK that is not signed with the upload certificate with same keystore 我不小心用一个临时的自签名证书将APK的第一个版本上传到了Google Play商店 - I accidentally uploaded the first version of my APK to the Google Play Store with a temporary self-signed certificate 丢失的android apk证书。我尚未注册Google Play App Signing - Lost android apk certificate. And I am Not enrolled in Google Play App Signing yet APK已使用相同证书签名并经过验证,但仍无法上传到Google Play - APK Signed with same certificate and verified, still not able to upload to Google play 上传了未使用上传证书签名的 APK- - Uploaded an APK that is not signed with the upload certificate- 您上传的 APK 未使用上传证书签名。 您必须使用相同的证书 - You uploaded an APK that is not signed with the upload certificate. You must use the same certificate 当您上传未使用上传证书签名的APK时; 您必须使用相同的证书吗? - When you uploaded an APK that is not signed with the upload certificate; do you have to use the same certificate?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM