Reputation: 125
I have upgraded the flutter latest with the command flutter upgrade, after upgrading now flutter doctor shows the warning (below)
Warning: dart
on your path resolves to E:\Program Files\Android\dart-sdk\bin\dart.exe, which is not inside your current Flutter SDK checkout at E:\Program Files\Android\flutter. Consider adding E:\Program Files\Android\flutter\bin to the front of your path.
anyone can help me ?
i tried by downloading flutter zip and replace the current flutter folder, but still the same happens !
Upvotes: 5
Views: 22165
Reputation: 1
Video https://youtu.be/DRbUrwCxdYc
! Warning: dart
on your path resolves to C:\dart-sdk\bin\dart.exe, which is not inside your current Flutter SDK checkout at C:\flutter
It basically says your path different from where path normally supposed to be
Upvotes: 0
Reputation: 141
For Windows 10 in my case
My project was in
C:\Users\Oleksii\AndroidStudioProjects\FlutterProjects\monitoring\flutter
I just moved FlutterProjects
to flutter
folder:
C:\Users\Oleksii\flutter\FlutterProjects\monitoring>
Upvotes: 1
Reputation: 11
If you do environmental and system variables edits and problem still occur. Simple and easy way to solve this problem check the known but actually wrong location of flutter document, there were a 0kb flutter doc for me. I deleted it then everything become well!
Upvotes: 1
Reputation: 31
1- go to E:\Program Files\Android\dart-sdk\bin\dart.exe
2- cut "dart-sdk" folder
3- go to E:\Program Files\Android\flutter\bin
4- then Paste the "dart-sdk" folder inside it
Upvotes: 3