0

I'd like to publish my app to Google Play Store; but first, I would like to do a last testing with the signed apk to ensure that all of the used API keys are working correctly with the release version (GMaps, Facebook, etc).

So, I just made a signed version of my app with our release key and when i try to install the app to the device i got an error:

enter image description here

I have tried to copy the apk to the device and install it with an apk installer app.

Strange thing is when I do the same process with debug signing key, all is well, I can install and run the app.

Here are the steps of the procedure:

  • I select the release key, type password.

enter image description here

  • I do select release build type instead of debugging

enter image description here

  • Just in case I also defined in the gradle file the signing keys; but, I must admit I dont know is it necessary.

enter image description here

I tried like 7 seven times now. So, I assume this problem is not just a mistyped password, also I can make this work with the standard debug android signing key.

Please help if you can.

3
  • 2
    Please try to install the APK using the command adb install .... this is the only way to get a meaningful error message.
    – Robert
    Commented Jul 19, 2022 at 19:57
  • 1
    Were you using the same package name for debug and production versions? If that's the case, did you uninstall the debug app before installing the production app? Otherwise, the signature won't match.
    – Andrew T.
    Commented Jul 20, 2022 at 5:53
  • This helped me solve the issue. Just go to the Settings --> Apps --> Click on your App. ---> In App info page at the action bar menu there will be an option called " Uninstall for All users " click that. Your app will be completely uninstalled and now you can try installing the new version with no issue. Commented Jul 25, 2022 at 20:11

0

You must log in to answer this question.

Browse other questions tagged .