Reputation: 5627
I've installed Flutter latest version by manually downloading from flutter.io and configured PATH in System Environments Variable.
My installation path is C:\src\flutter I've set the path to C:\src\flutter\bin, when i run the 'flutter doctor' command it throws
'MySQL' is not recognized as an internal or external command, operable program or batch file.
'MySQL' is not recognized as an internal or external command, operable program or batch file.
Error: Unable to find git in your PATH.
But it runs throws flutter .bat terminal. My git is working properly too.
I tried re-starting my PC, Still no luck.
Upvotes: 0
Views: 8351
Reputation: 1
Try Running your command prompt as administrator. I think most of the problems is related to permission . if you done all the instructions in the documentation then probably the problem is related to the permission of your windows. iv faced this problem but then i ran cmd.exe as administrator you will find it in system 32
Upvotes: 0
Reputation: 20231
I had been facing a similar issue for a while,and after about half an hour playing around with it I was able to get the flutter command running, what I did was
and changed the location of flutter SDK from Downloads to Documents.
and separately added the path of SDK to the environment variable also make sure you have added the path of git and system32 as I did in the image.
this is How my environment variable looks, Note that I have moved SDK path to the top.
In case you would like to see my answer on flutter installation check out this https://stackoverflow.com/a/53465355/8253662
Upvotes: 1