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.
Author by
Asfos22
Updated on December 01, 2022Comments
-
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 almost 5 yearsPlease l tried that but still not working. Error "The apk failed to install Error: Could not parse error string"
-
failspy almost 5 yearsCouple different things it could be. What's your Android's API version?
-
failspy almost 5 yearsOne 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 almost 5 yearsAPI version minSdkVersion 16, targetSdkVersion 28 , release apk still not installing .