Uploaded an APK that is not signed with the upload certificate-

家住魔仙堡 提交于 2021-02-04 21:37:23

问题


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,

It throws an error :

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


回答1:


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

Use .jks name same as created first time like key0 do not change it to 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 .

Only need to change in 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"

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



来源:https://stackoverflow.com/questions/49107984/uploaded-an-apk-that-is-not-signed-with-the-upload-certificate

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!