上传 Google Play 商店时,APK 已使用不安全的密钥大小进行签名

问题描述 投票:0回答:2

我已经在android studio中生成了带有发布证书的APK。上传 Intune Google Play 商店时出现以下错误, APK 已使用不安全的密钥大小进行签名。

请指导我解决这个问题。

谢谢

android android-studio google-play release
2个回答
0
投票

如果没有更多上下文,我不确定您到底遇到什么问题,但根据所提供的内容,这就是 Google 关于 应用程序签名密钥要求 的说法。

应用程序签名密钥要求:

When you use a Google-generated key, Google automatically generates a
cryptographically strong RSA key that’s 4096 bits.
If you choose to upload your own app signing key,
then it must be an RSA key that’s 2048 bits or more.

上传关键要求:

Must be an RSA key that's 2048 bits or more.

0
投票

我收到了同样的错误。所以我尝试下面的方法。我在mac下试过。现在我的错误消失了。使用以下方法解决。

keytool.exe -genkey -v -keystore release.keystore -alias TicTacToe -keyalg RSA -keysize 2048 -validity 20000

© www.soinside.com 2019 - 2024. All rights reserved.