r/flutterhelp • • Oct 30 '26

OPEN white screen during Android debugging on a physical device

I am trying to run Android on a physical mobile device because my computer cannot launch the emulator. However, when I use the "Run" button in Android Studio, the screen just turns white, and the `main` function never actually executes.

Conversely, when I use the command `flutter run --no-track-widget-creation` in the terminal, the app opens normally, but the `print` statements do not execute.

Flutter 3.47.8 • channel stable • https://github.com/flutter/flutter.git

Framework • revision 737ba8f885 (7 days ago) • 2026-10-22 21:37:31 -0700

Engine • hash dfd2e6cb7d319db05e3bf1503f3e2ac60f6288a2 (revision cf636b1dfb) (7 days ago) • 2026-10-23 02:13:38.000Z

Tools • Dart 3.13.7 • DevTools 2.60.0

Log:

Launching lib\main.dart on moto e22 in debug mode...

Running Gradle task 'assembleDebug'...

√ Built build\app\outputs\flutter-apk\app-debug.apk

Installing build\app\outputs\flutter-apk\app-debug.apk...

3 Upvotes

15 comments sorted by

View all comments

1

u/tommyboy11011 Oct 31 '26

Paste your code into ChatGPT and have it analyze it

1

u/PriorError2799 Oct 31 '26

That was the first thing I did; I just ended up going around in circles because he didn't know how to solve it.

1

u/tommyboy11011 Oct 31 '26

Can you launch in web?

1

u/PriorError2799 Oct 31 '26

It works perfectly on the web, and compiling a release build also works perfectly; however, an error occurs in a specific part only when building an Android APK, and I cannot see what the error is in the console.

1

u/tommyboy11011 Oct 31 '26

Can you build an appbundle? Flutter build appbundle

1

u/tommyboy11011 Oct 31 '26

That moto you are running max api is 31