dart 使用错误的密钥对Android App Bundle进行了签名,请选择正确的密钥,然后重试

cs7cruho  于 11个月前  发布在  Android
关注(0)|答案(1)|浏览(92)

`创建了一个新密钥(android/app/upload-keystore.jks),我应该怎么做才能在Google Play控制台中更改它?
因为我丢失了新密钥(不小心删除了),所以没有副本........
终端:

flutter build appbundle --no-tree-shake-icons

字符串
Play Console where you need to download appbudne(new release):Android App Bundle is signed with a wrong key. Select correct key and try again. App Bundle must be signed with a digital fingerprint certificate SHA1:2B:54:9 F:A5.......然而,下载的App Bundle使用数字指纹证书SHA1:9 B:54:85:D9.....

keytool -list -v -keystore upload-keystore.jks -alias upload


SHA1:9B:54:85:D9.
Play Console where you need to download appbudne:Android App Bundle is signed with a wrong key. Select correct key and try again. App Bundle must be signed with a digital fingerprint certificate SHA1:2B:54:9 F:A5.......然而,下载的App Bundle使用数字指纹证书SHA1:9 B:54:85:D9.....
验证码:
第一个月

android {signingConfigs {release {keyAlias keystoreProperties['keyAlias']keyPassword                                         keystoreProperties['keyPassword']storeFile keystoreProperties['storeFile'] ?   file(keystoreProperties['storeFile']) : nullstorePassword   keystoreProperties['storePassword']}}
buildTypes {release {signingConfig signingConfigs.release}}
storePassword=<password-from-previous-step>
    keyPassword=<password-from-previous-step>
    keyAlias=uploadstoreFile=<keystore-file-location>`

./android/key.properties(这里是密钥upload-keystore.jks的数据)

gojuced7

gojuced71#

请求在应用程序完整性部分中更改密钥

相关问题