Recently i have uploaded an app to play-store which is live now and i have enabled app sign in too. But, when i tried to upload a new build, i couldnt able to find my old key store. So, when i generate new KEYSTORE and try to upload, i am getting error :
you uploaded an apk that is not signed with the upload certificate.
You must use the same certificate.
If you lose your keystore or think it may be compromised, Google Play
App Signing makes it possible to request a reset to your upload key.
If you're not enrolled in Google Play App Signing and lose your
keystore, you'll need to publish a new app with a new package name.
I'm sorry for the confusion, however I can see for your app (with
package name: com.wma.foodinns.foodinnsapp), you have successfully
registered your upload key with Google and have therefore successfully
generated an upload key. The upload key you generated and then used to
register is the key you should still have on your side and should be
used to sign your APKs when uploading new APKs for this app to the
The certificate you can download from the Play Console is not the full
upload key, but contains the public key as well as some extra
identifying information about who owns the key (for more information
on this, please see the definitions listed here:
Do you still have the key you have created that was then registered as
as the upload key on the Play Console?
FInally, Google Helped me to get this resolved. I have written an email describing the issue and then after getting their responce, followed the below steps.
keytool -export -rfc -alias upload -file upload_certificate.pem -keystore keystore.jks
I Used the key store newly generated and them generated the signed APK which was successfully uploaded to Playstore.
Below are the list of locations needed to update keystore