Flutter release apk is not installing on device

8,450

If you're trying to install a signed APK after using a debugging mode APK, Android will detect differences in signature, and refuse to install it.

Make sure you've uninstalled the unsigned debugging APK first from the device, and try to install again.

Share:
8,450
Asfos22
Author by

Asfos22

Updated on December 01, 2022

Comments

  • Asfos22
    Asfos22 over 1 year

    I have release apk with signed keys but it's not installing on android devices, its shows this message "The apk failed to install Error: Could not parse error string" but debugging mode apk, the app works fine.

    release command

    flutter build apk --release.

    I did follow this question to solve it, hope it helps someone.

  • Asfos22
    Asfos22 almost 5 years
    Please l tried that but still not working. Error "The apk failed to install Error: Could not parse error string"
  • failspy
    failspy almost 5 years
    Couple different things it could be. What's your Android's API version?
  • failspy
    failspy almost 5 years
    One thing to try for more information is try to install the generated APK using adb: adb install your-app.apk and see if that installs or gives an error
  • Asfos22
    Asfos22 almost 5 years
    API version minSdkVersion 16, targetSdkVersion 28 , release apk still not installing .