上传了未使用上传证书签名的APK- [英] Uploaded an APK that is not signed with the upload certificate-

查看:69
本文介绍了上传了未使用上传证书签名的APK-的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

My app is live on play store. I have created my .jks file with Alias name key1. But when I have tried to update my signed APK on play store,

它抛出一个错误:

"您上传了未使用上传证书签名的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 文件.

You have to use same .jks file that you have generated first time when you want to generate Signed apk.

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

Use .jks name same as created first time like key0 do not change it to key1.

一旦创建了.jks文件并将apk上传到playStore,则无需要再次创建,请每次使用相同的.jks.如果创建.jks文件再来一次使用新的.jks,则playStore将不接受您的.apk.

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):

您每次想都必须增加以下两项在Playstore上上传APK.

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

这篇关于上传了未使用上传证书签名的APK-的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆