You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Flutter blank screen on 'Write Your First Flutter App' on Galaxy S6 #18757
Just starting out with flutter. Going through the 'Write Your First Flutter App' I hit a blank screen right away. The same code works on an Emulator but doesn't work on a physical device, Samsung Galaxy S6.
On the Galaxy S6 the App bar is visible but the screen is blank white below the app bar.
Steps to Reproduce
I copied the same exact code from the guide, see below:
// Step 4: Create an infinite scrolling lazily loaded list
The above code doesn't work on a Galaxy S6 running Android 6.0.1
The above code works on an emulator running Android 7.1
Logs
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, v0.5.1, on Microsoft Windows [Version 10.0.17134.81], locale en-CA)
[√] Android toolchain - develop for Android devices (Android SDK 28.0.0)
[√] Android Studio (version 3.1)
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
[√] VS Code, 64-bit edition (version 1.24.1)
[√] Connected devices (1 available)
@eduardobcastro It's best to open a new issue with your log to avoid confusing things here. Although your issue seems to match the description here, there are a lot of different things that could go wrong that result in a blank screen (we always start the app paused so that we can send breakpoints before any code executes, so if anything at all goes wrong between starting the app paused and unpausing it the screen will remain blank).
Please CC me on the new issue or post the link back here (it may also be better to paste the log into a gist and link to it).
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
escamoteur commentedon Jun 24, 2018
Could you please formt your source code be adding ```Dart above the first line and ``` below the last line?
Is there any output in the debug tab of VS code?
eduardobcastro commentedon Sep 12, 2018
I have the same issue on an LG device. A Dart team member suggested to open an issue to the flutter team.
Dart-Code/Dart-Code#747 (comment)
This is what happens when I run the example app in debug mode
DanTup commentedon Sep 12, 2018
@eduardobcastro It's best to open a new issue with your log to avoid confusing things here. Although your issue seems to match the description here, there are a lot of different things that could go wrong that result in a blank screen (we always start the app paused so that we can send breakpoints before any code executes, so if anything at all goes wrong between starting the app paused and unpausing it the screen will remain blank).
Please CC me on the new issue or post the link back here (it may also be better to paste the log into a gist and link to it).
DanTup commentedon Sep 12, 2018
Actually, I just saw you commented on #18889 and it does look like that's the same problem, so no need for a new issue.
madsonsilva commentedon Jan 31, 2019
I don't know if it's your case but in my case i just set no_proxy=127.0.0.1 environment variable to solve this. Obs.: assuming you're behind a proxy
github-actions commentedon Aug 31, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.