gpt4 book ai didi

android - 错误 : "Your Android App Bundle is signed with the wrong key." How to sign apk/aab using Google provided signing information

转载 作者:行者123 更新时间:2023-12-04 12:29:07 28 4
gpt4 key购买 nike

在将我的第二个应用程序项目上传到 PlayStore 时,在为新版本上传 .aab 文件时出现以下错误:
enter image description here

"Your Android App Bundle is signed with the wrong key. Ensure thatyour App Bundle is signed with the correct signing key and try again.Your App Bundle is expected to be signed with the certificate withfingerprint: ::::: "


我所做的是使用我的第一个应用程序唱歌 key /我的旧 keystore 文件并在 Android 工作室“build-> Generate signed bundle/apk”中使用这个 keystore 文件来生成我的 aab 文件。
在 PlayConsole 中,我检查了 "Let Google manage and protect your app signing key"所以我认为,现在谷歌也在保证这个 keystore 文件的安全。
在 Google PlayConsole 中,我访问了 "Release > Setup > App integrity" ,我可以看到有上传证书和 SH1 证书,但此信息与以前的应用程序 keystore 不同。
我不明白为什么以前的应用程序的指纹及其别名与当前的不同?
我可以从 PlayConsole 下载这个 Google 管理的证书文件,但我不能使用这个证书文件作为“ keystore ”来签署我的 apk/aab 文件。
我一直在阅读不同论坛上的答案,但没有一个解决方案对我有用。

最佳答案

最后经过两天尝试不同的选择,我终于能够解决这个问题。
我所做的是从 PlayConsole 中删除我的项目并尝试重新开始。
我发现的是

"Let Google manage and protect your app signing key"


如果我想使用旧的 keystore 文件,这对我来说不是正确的选择。
enter image description here
第一次在 PlayConsole 中设置您的应用程序时,当您单击

"Manage app signing"


您会看到以下选项:
1. Let Google manage and protect your app signing key (recommended)
2. Use the same key as another app in this developer account.
3. Export and upload a key from Java keystore.
enter image description here
为了让您使用以前的项目/应用程序 keystore 文件来签署 apk/aab 文件,您需要选中第二个选项。
有一次,我检查了这个选项,我终于能够成功地将我的应用上传到 Playstore。

关于android - 错误 : "Your Android App Bundle is signed with the wrong key." How to sign apk/aab using Google provided signing information,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67968372/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com