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

前端 未结 1 1045
無奈伤痛
無奈伤痛 2021-01-28 19:35

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 :

<
相关标签:
1条回答
  • 2021-01-28 20:01

    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

    0 讨论(0)
提交回复
热议问题