Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"flutter doctor" not working

I've downloaded Flutter SDK as mentioned on https://flutter.io/setup-windows/ and also extracted it. Now when I try to run any Flutter command on the flutter_console.bat or any other CLI the prompts starts blinking forever and nothing happens! I've set the path correctly. Did not find any help from web!

like image 700
Deepam Goel Avatar asked May 31 '18 19:05

Deepam Goel


People also ask

How do I run the doctor flutter command in Windows 10?

After the installation completes, run the flutter doctor command in CMD to confirm the Visual Studio installation. C:\Users\tomz>flutter doctor Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, 2.10. 4, on Microsoft Windows [Version 10.0.

Why flutter is not recognized?

flutter : The term 'flutter' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. This error happens when Flutter is not installed correctly in your OS.

Where is not recognized as an internal or external command operable program or batch file in flutter?

You need to add the path to your system environment. Because your system is not able to find the folder where you have installed Flutter in your system.


3 Answers

Try running the flutter_console.bat as Administrator

like image 58
Jayden Avatar answered Oct 18 '22 03:10

Jayden


If you delete cache folder under bin to solve some installation issues, this cause a endless loop in flutter doctor. This was my case.

like image 29
DiRiNoiD Avatar answered Oct 18 '22 02:10

DiRiNoiD


I had the same issue when my flutter directory wasn't located directly in my C:/ drive ("C:/flutter")

like image 34
Matt Goodis Avatar answered Oct 18 '22 04:10

Matt Goodis