使用谷歌播放的应用签名,Android APK上传失败

时间:2018-06-17 10:49:18

标签: android google-play apk

我想将新应用上传到开发者控制台并选择通过Google Play启用应用签名。我通常通过以下gradle配置签署我的应用程序并上传而不会出现问题

release {
    storeFile file("C:\\android_keystore.jks")
    storePassword "pass"
    keyAlias "my_key"
    keyPassword "pass"
}

然而现在我得到一个错误,并且对于我现在应该用我的密钥做什么感到困惑。我在商店里已经有一个应用程序,我使用相同的密钥签名。但我最近才生成并上传了该

的加密私钥
You uploaded an APK or Android App Bundle that is signed with a key that is also used to sign APKs that are delivered to users. Because you are enrolled in app signing by Google Play, you should sign your APK or Android App Bundle with a new key before you upload it.

1 个答案:

答案 0 :(得分:0)

这是用于应用程序之前使用的相同密钥。从Playstore开始,需要使用相同的密钥来签署要上传的应用。