Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter inspector stuck on "Installing Dev tools"

Tags:

flutter

My flutter inspector in android studio is stuck on "Installing Dev tools"

enter image description here

it worked before, Today when I opened it, it did not work

like image 219
WebMaster Avatar asked Nov 07 '20 07:11

WebMaster


3 Answers

The fact is that the IDE seems to recently have started using embedding devtools in the inspector tab. I have my Flutter version up to date and my Android Studio's version is 4.1. Until the problem gets solved I have three possible solutions:

  • One is invalidating caches by going to File > Invalidate Caches > Restart > Invalidate and Restart.
  • Another one would be (for Windows) running on the Android Studio console:

flutter.bat pub global activate devtools

flutter.bat pub global run devtools

  • And the third one (the one that worked for me): go to File > Settings > Languages & Frameworks > Flutter > Experiments … and there you should uncheck “Enable embedding DevTools in the Flutter Inspector tool window”. That should allow you to use devtools locally instead of the embedded ones.

Image that shows the process

And by the way, in order to use Devtools you should first make sure your application is running ;)

As I said before, they seem to be already fixing the problem. They made other changes to DevTools management that should solve the issue. For more information you should go to: https://github.com/flutter/flutter-intellij/issues/5032

like image 127
Iván Yoed Avatar answered Nov 20 '22 08:11

Iván Yoed


By running File > Invalid Caches / Restart..., the problem was fixed

like image 40
WebMaster Avatar answered Nov 20 '22 07:11

WebMaster


There's a Github issue for this https://github.com/flutter/flutter-intellij/issues/5032

like image 2
Grand Avatar answered Nov 20 '22 06:11

Grand