6

this is the first time I publishing an android app on google play. I've generated aap file for my application and when I tried to upload it to google play I got this error

Your Android App Bundle is signed with the wrong key. Ensure that your App Bundle is signed with the correct signing key and try again. Your App Bundle is expected to be signed with the certificate with fingerprint:
SHA1: EB:7E:87:E8:83:62:EE:08:07:67:A6:5D:FA:31:C0:4B:7C:A8:46:02
but the certificate used to sign the App Bundle you uploaded has a fingerprint:
SHA1: 8B:75:AC:86:40:58:9E:BE:BE:9F:EC:B0:E6:CB:1C:37:3F:72:D8:DF

I've searched for a solution but I couldn't resolve this problem so what is this problem and how can I fix it?

tecs-x
  • 308
  • 3
  • 12

3 Answers3

2

Maybe you try to sign APP with debug KEY? Just check you app sign with

keytool -list -v -alias key0 -keystore ~/android/Keystore/release.keystore

where ~/android/Keystore/release.keystore release keystore, not

keytool -list -v -alias androiddebugkey -keystore ~/.android/debug.keystore

If you have no release keystore, create new in Android Studio Android Studio make a new keystore

Alex Dem
  • 21
  • 1
  • 3
2

Make these changes in android/app/build.gradle file:

signingConfig signingConfigs.release
Aqeel
  • 804
  • 1
  • 11
  • 15
0

there is sign in option just click and upload with new keystore.jks file this work for meenter image description here

Syed Hasan
  • 161
  • 1
  • 5