简体   繁体   English

Expo - Android 使用错误密钥签名的应用程序包

[英]Expo - Android App bundle signed with wrong key

I have an app that is published to the Google Play store and I recently upgraded my expo sdk version from 28 to 39. When I uploaded the App Bundle for the new release I got an error saying that the upload certificates did not match.我有一个发布到 Google Play 商店的应用程序,我最近将 expo sdk 版本从 28 升级到了 39。当我为新版本上传 App Bundle 时,我收到一条错误消息,指出上传证书不匹配。 I initially tried following this user's advice ( https://stackoverflow.com/a/59517306/9053902 ) but had no success.我最初尝试遵循此用户的建议( https://stackoverflow.com/a/59517306/9053902 )但没有成功。 I eventually submitted a request for a key reset per the google support docs ( https://support.google.com/googleplay/android-developer/answer/9842756#create )我最终根据谷歌支持文档( https://support.google.com/googleplay/android-developer/answer/9842756#create )提交了密钥重置请求

After the key was reset I attempted to build and resubmit but got the same upload certificate mismatch error.重置密钥后,我尝试构建并重新提交,但出现相同的上传证书不匹配错误。 So I ran "expo build:android -c".所以我运行了“expo build:android -c”。 Now the error says the signing key is wrong.现在错误表明签名密钥是错误的。 I have the original downloaded.jks file, keystore password, key alias, and key password so I attempted to rebuild the App Bundle by manually providing expo with the path to the.jks file but the signing error persists.我有原始下载的.jks 文件、密钥库密码、密钥别名和密钥密码,因此我尝试通过手动向 expo 提供.jks 文件的路径来重建 App Bundle,但签名错误仍然存在。

How can I view the contents of the.jks file to check the signing key values and what other steps can I take?如何查看 .jks 文件的内容以检查签名密钥值以及我可以采取哪些其他步骤? Also, is the.pem file that I created for the key reset supposed to be used for anything?另外,我为密钥重置创建的 .pem 文件是否应该用于任何用途?

https://support.google.com/googleplay/android-developer/answer/9842756 https://support.google.com/googleplay/android-developer/answer/9842756

Request for new upload certificate申请新的上传证书

  1. Fill up this form填写此表格
    https://support.google.com/googleplay/android-developer/contact/key https://support.google.com/googleplay/android-developer/contact/key

  2. Generate Signed Bundle or APK生成签名包或 APK
    [new_key].der [new_key].der

  3. Generate.pem and Upload生成.pem 并上传
    $ keytool -export -rfc -keystore [new_key].der -alias upload -file upload_certificate.pem $ keytool -export -rfc -keystore [new_key].der -alias upload -file upload_certificate.pem

  4. Wait for Google's email reply等待谷歌的 email 回复

It takes about 2 to 3 days to update to the new keystore once google verified it.谷歌验证后,大约需要 2 到 3 天才能更新到新的密钥库。

暂无
暂无

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

相关问题 您的 Android App Bundle 使用错误的密钥 google play 控制台签名 - Your Android App Bundle is signed with the wrong key google play console Android App Bundle 使用错误的密钥签名,现在最快的方法是什么? - Android App Bundle is signed with the wrong key, whats the fastes way now? 您的 Android App Bundle 使用错误的密钥签名。 确保您的应用程序包已使用正确的签名密钥签名,然后重试 - Your Android App Bundle is signed with the wrong key. Ensure that your app bundle is signed with the correct signing key and try again 您的 Android App Bundle 使用错误的密钥签名。 确保您的 App Bundle 使用正确的签名密钥进行签名,然后重试:SHA1: - Your Android App Bundle is signed with the wrong key. Ensure that your App Bundle is signed with the correct signing key and try again: SHA1: App Bundle 使用错误的密钥签名。 错误 - App Bundle is signed with the wrong key. ERROR 已尝试针对此问题找到的所有其他答案:您的 Android App Bundle 使用错误的密钥签名。 确保您的 App Bundle 已签名 [..] - Have tried all other answers found for this problem: Your Android App Bundle is signed with the wrong key. Ensure that your App Bundle is signed [..] 为什么我会收到此错误 - 您的 Android App Bundle 使用错误的密钥签名 - why I got this error - Your Android App Bundle is signed with the wrong key 创建新版本并获得“您的 Android App Bundle 使用错误的密钥签名” - Creating New Release and got 'Your Android App Bundle is signed with the wrong key' 如何修复谷歌 Api 错误:禁止:将应用上传到 Play 商店时,Android App Bundle 使用错误的密钥进行签名 - how to fix Google Api Error: forbidden: The Android App Bundle was signed with the wrong key when upload app to play store 错误“您的 Android App Bundle 使用错误的密钥签名。”第一次尝试将应用上传到 google play 时 - Error " Your Android App Bundle is signed with the wrong key. " While trying to upload the app to google play for first time
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM