Flutter build release apk with no sound null safety?


Debug apk works fine, release apk not working..

Tried flutter build apk –no-sound-null-safety it builds release apk but does not works.


Issue Solved!!
Actually, the problem was with ‘http’ as SSL certificate was not included for the admin panel hence, app showed
Bad state: Insecure HTTP is not allowed by platform error in some devices while it was running in my Mi note4 mobile phone.

android:usesCleartextTraffic="true" line in
AndroidManifest.xml file inside
<manifest <application android:usesCleartextTraffic="true""> </application> </manifest> tag

Answered By – Nikhil Patil

Answer Checked By – Terry (FlutterFixes Volunteer)

Leave a Reply

Your email address will not be published. Required fields are marked *