为新的应用程序发布创建新的密钥库

Create new keystore for new application release

我想发布一个新的应用程序。我专门为该应用程序创建了一个密钥库。在 Google 控制台上时,我不小心点击了启用 Google Play App Signing。我的 APK 上传失败,因为它与应用程序签名者不匹配。我以前早就丢失了应用程序密钥库。如何发布带有新密钥库的新应用程序? Google的解释让我更加困惑,我能不能给我一个我必须做的命令。

我在控制台上的错误如下所示:

而上传证书部分是这样写的:

Your application does not have an upload certificate. The certificate you use to sign the first APK will be used as an upload certificate.

生成签名 APK 时,只需检查两个签名版本即

我想确认我已经找到答案,通过这个 link [ 生成签名 APK 时我必须检查这两个选项。

There are three choices available to us:

select V1 (For older version of signing) - apk gets uploaded successfully

select V2 (For newer version of signing) - Please note that selecting this alone will not work.

select V1 and V2 (For older and newer version) - apk gets uploaded successfully

Why selecting V2 alone does not work ?

Because APK Signature Scheme v2 was introduced in Android 7.0 (Nougat). To make a APK installable on Android 6.0 (Marshmallow) and older devices, the APK should be signed using JAR signing before being signed with the v2 scheme.

感谢您参与帮助寻找答案