简体   繁体   中英

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.

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.

Please check available disk space on the target Android Device before doing any actions. For most of cases it is a due to insuffisant space on the device.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM