REVANTH N D
REVANTH N D

Reputation: 317

My build release APK from flutter is not working but debug APK is working

I recently completed my app in Flutter and I built a release APK. The Build APK is not working at any mobile and it is simply displaying as a White Screen. The debug APK in emulator was working fine while the release APK is not working. Can anyone help me out to solve this and Thank you soo much..!!

Upvotes: 3

Views: 4984

Answers (2)

fasameer
fasameer

Reputation: 61

If your app requires internet permission, you need to make sure that it's specified. If not given it will still work on debug mode and not on release mode.

Android > App > Src > Main > AndroidManifest.xml

<uses-permission android:name="android.permission.INTERNET"/>

Upvotes: 5

Jannik
Jannik

Reputation: 740

Did you sign your app correctly? https://flutter.dev/docs/deployment/android

Try this to get more informations on what is happening:

flutter devices
flutter run -d [deviceID] --release

This will run the android app in release mode but you can still see logs

Upvotes: 2

Related Questions