Issue
I have created an application with Expo but I have some difficulties to upload it to Google Play because everytime the signed apk not corresponding to uploaded_certificate.
First, I activated the app signing by Google Play with my keystore I generate a file with a specific jks file.
Secondly, I follow this tutorial to attempt to signed my apk
I tried to execute this line expo opt-in-google-play-signing
, but when the dialog asked me if app signing is enabled I said yes and nothing happened.
So I replace my jks with the same I use in first step and when I tried with the apk generated signed I get this error message :
You have imported an APK that is not signed with the import certificate. You must use the same certificate. The import certificate bears the following fingerprint
Thanks for your help
Solution
I found the solution, I use this command line expo build:android --clear-credentials
to reset my credentials. And after when the dialog asks to select between
1) Let Expo handle the process!
2) I want to upload my own keystore!
I should be selected the 2nd and choose the path to my keystore. After that when I upload the apk everything works !
Answered By - fl0_9
Answer Checked By - Mary Flores (JavaFixing Volunteer)