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.

Flutter Inspector Stuck at Installing DevTools, won't display

See original GitHub issue

Steps to Reproduce

When I run a Flutter app in IntelliJ, with the “Open Flutter Inspector view on app launch” setting set to true (or if I just open it by clicking on the sidebar tab), it will put up a progress bar that says “Starting DevTools” for about 15-20 seconds, and then it will show the following:

image

I’ve tried following those instructions multiple times, restarting IntelliJ and clearing caches, restarting my app, and uninstalling and reinstalling the Flutter and Dart plugins (restarting in between), and it still won’t start the inspector.

When I run with verbose output, it does print the following once the app starts:

[{"event":"app.started","params":{"appId":"cf719a58-20d4-4b61-b0bb-ed39d4cfd839"}}]
Activating Dart DevTools...
[{"event":"app.progress","params":{"appId":"cf719a58-20d4-4b61-b0bb-ed39d4cfd839","id":"2","progressId":null,"message":"Activating Dart DevTools...","finished":false}}]
[{"event":"app.progress","params":{"appId":"cf719a58-20d4-4b61-b0bb-ed39d4cfd839","id":"2","progressId":null,"finished":true}}]
[{"id":0,"result":{"value":"linux","type":"_extensionType","method":"ext.flutter.platformOverride"}}]
[{"id":1,"result":{"timeDilation":"1.0","type":"_extensionType","method":"ext.flutter.timeDilation"}}]
[{"id":2,"result":{"enabled":"false","type":"_extensionType","method":"ext.flutter.debugPaint"}}]
[{"id":3,"result":{"enabled":"false","type":"_extensionType","method":"ext.flutter.debugPaintBaselinesEnabled"}}]
[{"id":4,"result":{"enabled":"false","type":"_extensionType","method":"ext.flutter.repaintRainbow"}}]
[{"id":5,"result":{"enabled":"false","type":"_extensionType","method":"ext.flutter.showPerformanceOverlay"}}]
[{"id":6,"result":{"enabled":"true","type":"_extensionType","method":"ext.flutter.debugAllowBanner"}}]
[{"id":7,"result":{"enabled":"false","type":"_extensionType","method":"ext.flutter.inspector.structuredErrors"}}]
[{"id":8,"result":{"enabled":"false","type":"_extensionType","method":"ext.flutter.inspector.show"}}]
[{"id":9,"result":{"enabled":"false","type":"_extensionType","method":"ext.flutter.inspector.trackRebuildDirtyWidgets"}}]
[{"id":10,"result":{"enabled":"false","type":"_extensionType","method":"ext.flutter.inspector.trackRepaintWidgets"}}]
[{"id":11,"result":{"enabled":"true","type":"_extensionType","method":"ext.flutter.inspector.structuredErrors"}}]
[{"id":12,"result":{"enabled":"false","type":"_extensionType","method":"ext.flutter.inspector.trackRebuildDirtyWidgets"}}]
[{"id":13,"result":{"enabled":"false","type":"_extensionType","method":"ext.flutter.inspector.trackRepaintWidgets"}}]

Version info

[✓] Flutter (Channel master, 2.3.0-17.0.pre.576, on Debian GNU/Linux rodete 5.10.28-1rodete2-amd64, locale en_US.UTF-8)
    • Flutter version 2.3.0-17.0.pre.576 at /home/gspencer/code/flutter
    • Upstream repository git@github.com:gspencergoog/flutter.git
    • Framework revision 1c92e84865 (20 hours ago), 2021-06-29 16:21:02 -0700
    • Engine revision aa939d4cf9
    • Dart version 2.14.0 (build 2.14.0-256.0.dev)

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • Debian clang version 11.0.1-2
    • cmake version 3.18.4
    • ninja version 1.8.2
    • pkg-config version 0.29.2

[✓] IntelliJ IDEA Community Edition (version 2021.1)
    • IntelliJ at /opt/idea-IC-202.7660.26
    • Flutter plugin version 57.0.5
    • Dart plugin version 211.7665

[✓] VS Code (version 1.57.1)
    • VS Code at /usr/share/code
    • Flutter extension version 3.23.0

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Debian GNU/Linux rodete 5.10.28-1rodete2-amd64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 91.0.4472.114

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
helin24commented, Jun 30, 2021

@gspencergoog are you able to open DevTools from the toolbar in the run/debug window?

Can you also reproduce this issue and send us your logs (internally) from Help > Show log in finder?

0reactions
ghostcommented, Jul 1, 2021

This issue was moved by helin24 to flutter/flutter#85705.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Flutter inspector stuck on "Installing Dev tools" - Stack Overflow
One is invalidating caches by going to File > Invalidate Caches > Restart > Invalidate and Restart. Another one would be (for Windows)...
Read more >
Getting "Installing Devtools" message forever, and Flutter ...
Getting "Installing Devtools" message, and Flutter Inspector doesn't start. The plugin shows: Flutter 51.0.3.
Read more >
[Solved]-Flutter inspector stuck on "Installing Dev tools"
One is invalidating caches by going to File > Invalidate Caches > Restart > Invalidate and Restart. Another one would be (for Windows)...
Read more >
Flutter Inspector Stuck On "Installing Dev Tools" - ADocLib
Follow the below steps to install DevTools in your Android Studio: The Flutter widget inspector is a great tool for visualizing and monitoring...
Read more >
Install and run DevTools from Android Studio | Flutter
Learn how to install and use DevTools from Android Studio. ... Select the Open DevTools action from the More Actions menu in the...
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