gpt4 book ai didi

android - 上传了未使用上传证书签名的 APK-

转载 作者:行者123 更新时间:2023-12-04 13:22:21 25 4
gpt4 key购买 nike

我的应用在 Play 商店上线。我已经用别名 key1 创建了我的 .jks 文件。但是当我尝试在 Play 商店更新我签名的 APK 时,

它抛出一个错误:

"You uploaded an APK that is not signed with the upload certificate. You must use the same certificate. The upload certificate has fingerprint"

最佳答案

当您想要生成签名 apk 时,您必须使用您第一次生成的相同 .jks 文件。

使用.jks 名称与第一次创建的名称相同,如key0 不要将其更改为key1

Once you created .jks file and upload the apk to playStore , No need to create again , use same .jks every time. If you create .jks file again & used new .jks then playStore will not accept your .apk .

只需要在build.gradle(Module:app)中改变:

you have to increase your below both every time when you want to upload apk on playstore.

 versionCode 2
versionName "1.2"

引用: https://developer.android.com/studio/publish/app-signing.html

关于android - 上传了未使用上传证书签名的 APK-,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49107984/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com