Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting up DevTools failed (Flutter Inspector)

I could not find solution to this either on google or here on StackOverflow. There is only and only 1 question answered related to this issue [https://stackoverflow.com/questions/64655867/about-android-studio-and-flutter-inspector], however for a beginner like me, its not clear about what exactly to do.

Additional information:

  • OS: Windows
  • Android studio version 4.1.1
  • App is running in avd when I opened flutter inspector panel.
  • Stopped and run the app again.
  • Previously, somewhere I read that if inspector is not showing anything, click on any widget pressing ctrl key. That worked previously, but not working now. Sure, that was different error and different situation.
  • flutter doctor screenshot also attached

flutter inspector screenshot

flutter doctor screenshot

like image 767
Priyank Sharma Avatar asked Jul 25 '26 04:07

Priyank Sharma


1 Answers

This worked for me

If you have the JCEF is not supported in this env or failed to initialize error, here is how you can fix it:

Go to Help -> Find action

Search and select "Choose Boot Java Runtime for the IDE"

In that popup, select a JetBrains runtime that has JCEF

Then restart the IDE and the error is gone.

like image 95
Raybel Hernández Avatar answered Jul 26 '26 17:07

Raybel Hernández