如何使用当前的 `*.keystore` 成功构建或迁移到新密钥但 play store 也会接受它?
How can I use the current `*.keystore` to build successfully or migrate to new key but play store will also accept it?
我正在将一个 android 应用程序升级到目标 API 级别 30 (Android 11) because of it's required 截至 2021 年 11 月。
如何使用当前的签名密钥 *.keystore
并正确构建它或迁移到新的签名密钥但 Play 商店也接受它?
如果我使用当前 *.keystore
来签署我的应用程序,我会在 Android Studio 4.2
中遇到错误
Execution failed for task ':app:signReleaseBundle'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.FinalizeBundleTask$BundleToolRunnable
> Failed to generate v1 signature
and
The security strength of SHA-1 digest algorithm is not sufficient for this key size
如果我 generate a new key 通过 keytool ,它可以用于构建,但在上传 aab
.
后 google play store 出现错误
来自 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:
更多信息
$ keytool -list -v -keystore ./{yourkeystore}.keystore -alias xxxxxx -storepass xxxxxx -keypass xxxxxx
显示Subject Public Key Algorithm: 2048-bit DSA key (3)
客户支持已解决,他们允许使用新密钥。
https://support.google.com/googleplay/android-developer/gethelp
我正在将一个 android 应用程序升级到目标 API 级别 30 (Android 11) because of it's required 截至 2021 年 11 月。
如何使用当前的签名密钥 *.keystore
并正确构建它或迁移到新的签名密钥但 Play 商店也接受它?
如果我使用当前 *.keystore
来签署我的应用程序,我会在 Android Studio 4.2
Execution failed for task ':app:signReleaseBundle'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.FinalizeBundleTask$BundleToolRunnable
> Failed to generate v1 signature
and
The security strength of SHA-1 digest algorithm is not sufficient for this key size
如果我 generate a new key 通过 keytool ,它可以用于构建,但在上传 aab
.
来自 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:
更多信息
$ keytool -list -v -keystore ./{yourkeystore}.keystore -alias xxxxxx -storepass xxxxxx -keypass xxxxxx
显示Subject Public Key Algorithm: 2048-bit DSA key (3)
客户支持已解决,他们允许使用新密钥。
https://support.google.com/googleplay/android-developer/gethelp