You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何找回React Native Expo中误删的旧签名密钥

解决误删签名密钥导致Google Play上传失败的问题

误删应用旧签名密钥后,上传App Bundle到Google Play Console时会出现以下错误:

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

解决方案分两种情况处理:

  • 情况一:已启用Google Play应用签名
    若之前开启了应用签名功能,Google已托管你的原始签名密钥,只需生成新上传密钥并注册:

    1. 用keytool生成新上传密钥:
      keytool -genkeypair -alias upload -keyalg RSA -keysize 2048 -validity 9125 -keystore upload-keystore.jks
    2. 导出上传密钥的公钥证书:
      keytool -export -rfc -alias upload -file upload_certificate.pem -keystore upload-keystore.jks
    3. 登录Google Play Console,进入对应应用 → 「应用签名」→ 选择「上传新的上传密钥」,上传生成的upload_certificate.pem文件,按提示完成验证即可。
  • 情况二:未启用Google Play应用签名
    只能向Google申请重置签名密钥:

    1. 登录Google Play Console,进入应用 → 「支持」→ 「联系我们」→ 选择「发布问题」→ 「应用签名」→ 「我丢失了我的签名密钥」
    2. 按页面要求提交信息,包括应用包名、能证明应用所有权的材料(如开发者账号注册邮箱、应用支付凭证等)
    3. 提交申请后等待Google审核,通过后即可使用新密钥签名上传。

后续注意

  • 务必备份签名密钥,存到多个安全位置(加密U盘、加密云存储等),避免再次丢失。
  • 建议开启Google Play应用签名,将原始密钥托管给Google,仅管理上传密钥,降低丢失风险。

内容的提问来源于stack exchange,提问作者Mohd. Anas Siddiqui

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.26 10:35:11