[英]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申请新的上传证书
Fill up this form填写此表格
https://support.google.com/googleplay/android-developer/contact/key https://support.google.com/googleplay/android-developer/contact/key
Generate Signed Bundle or APK生成签名包或 APK
[new_key].der [new_key].der
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
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.