簡體   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