Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter release apk is not installing on device

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.

like image 499
Asfos22 Avatar asked Jun 05 '19 16:06

Asfos22


People also ask

How do I fix app not installed APK?

The Android app not installed error can be combated after resetting app permissions. Go to Settings > Apps > Reset App Preferences/Reset Application Permissions. After this, third-party software can be installed on your device.


1 Answers

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.

like image 65
failspy Avatar answered Oct 03 '22 17:10

failspy