question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Blank screen when running via vs code / Intellij idea

See original GitHub issue

Both VSCode and Intellij Idea cannot use debug mode, cannot be hot loaded, and debug mode will display a blank screen.

I run the following command in the terminal, it is no longer a blank screen, but it is not in debug mode, it can’t be hot loaded, and in some cases did not compile the latest code

flutter run -v --debug 

I try:

  • Reinstall flutter and vscode
  • flutter cannel beta / master
  • create helloworld project
  • turn off the firewall
  • restart the computer

But, still can’t work

I sent the logs ([ “–record-to”, “bugreport”, “–verbose”, “–trace-startup”], debug-output and doctor output) to logs@dartcode.org.


doctor output:

[✓] Flutter (Channel master, v0.9.7-pre.46, on Mac OS X 10.14 18A391, locale en-CN)
    • Flutter version 0.9.7-pre.46 at /usr/local/flutter
    • Framework revision 2d3ff10d62 (7 hours ago), 2018-10-05 07:54:56 +0200
    • Engine revision 90b1023c84
    • Dart version 2.1.0-dev.6.0.flutter-c6254163dc

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.2)
    • Android SDK at /Users/xxx/Workspace/android/sdk/
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.2
    • ANDROID_HOME = /Users/xxx/Workspace/android/sdk/
    • Java binary at: /usr/local/java/bin/java
    • Java version Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.0, Build version 10A255
    • ios-deploy 2.0.0
    • CocoaPods version 1.5.3

[✗] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.io/setup/#android-setup for detailed instructions).

[✓] IntelliJ IDEA Ultimate Edition (version 2018.2.4)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 29.0.4
    • Dart plugin version 182.4505.50

[!] VS Code (version 1.27.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (1 available)
    • SM G9350 • d3c73e90 • android-arm64 • Android 8.0.0 (API 26)

! Doctor found issues in 2 categories.

I see a lot of the same issues, I hope my log can help.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
DanTupcommented, Oct 6, 2018

Great! I might see if we can add a flutter doctor test for this with instructions on how to fix. Thanks!

2reactions
DanTupcommented, Oct 6, 2018

I think if you put 127.0.0.1 in an env var called NO_PROXY then that might also fix it, without you needing to remove it globally. Try it out and let me know if it works.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Intellij Idea always shows blank on opening, until I resize the ...
here's an weird bug on mac and it's really old, when i start the IDE it shows complete blank, no sidebar no code....
Read more >
Editor only showing blank screen
My editor will only display a blank screen. ... but when Run, Pycharm Shows ONLY An EMPTY WHITE SCREEN and CRASH and says...
Read more >
IntelliJ IDEA showing blank screen, and some buttons do not ...
I noticed that it always happens when I restart IntelliJ IDEA because some times it bugs out, and autocomplete stops working or the...
Read more >
Reconnecting multiscreen monitor displays blank IDE
IDEA-226121 Intellij Idea always shows blank on opening, until I resize the ... the external display is connected - via USB-C, DP, HDMI...
Read more >
IntelliJ IDEA is showing blank screen after update. Not sure ...
IntelliJ IDEA is showing blank screen after update. Not sure why it is, earlier it used to work. Also tried restoring the default...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found