繁体   English   中英

您的 Android App Bundle 使用错误的密钥 google play 控制台签名

[英]Your Android App Bundle is signed with the wrong key google play console

这是我第一次在 google play 上发布安卓应用。 我为我的应用程序生成了 aap 文件,当我尝试将其上传到 google play 时出现此错误

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. Your App Bundle is expected to be signed with the certificate with fingerprint:
SHA1: EB:7E:87:E8:83:62:EE:08:07:67:A6:5D:FA:31:C0:4B:7C:A8:46:02
but the certificate used to sign the App Bundle you uploaded has a fingerprint:
SHA1: 8B:75:AC:86:40:58:9E:BE:BE:9F:EC:B0:E6:CB:1C:37:3F:72:D8:DF

我已经寻找解决方案,但我无法解决这个问题,那么这个问题是什么,我该如何解决?

也许您尝试使用调试密钥签署 APP? 只需检查您的应用程序签名

keytool -list -v -alias key0 -keystore ~/android/Keystore/release.keystore

其中~/android/Keystore/release.keystore释放密钥库,而不是

keytool -list -v -alias androiddebugkey -keystore ~/.android/debug.keystore

如果您没有发布密钥库,请在 Android Studio 中创建新的 Android Studio 制作新的密钥库

在 android/app/build.gradle 文件中进行这些更改:

signingConfig signingConfigs.release

有登录选项只需单击并使用新的 keystore.jks 文件上传这对我有用在此处输入图像描述

暂无
暂无

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM