How to configure Flutter SDK? How to locate the Flutter SDK? I don\'t know the location of the SDK file.
If you installed flutter via the snap on linux then the sdk is likely to be in
~/snap/flutter/common/flutter
There are many answers but the only thing that worked for me is to remove > bin from path.
At various places, it is written that the path should be your_path/dart/bin
or your_path/flutter/bin
but the correct path that you need to enter is the following:
your_path/dart
your_path/flutter
To find the Flutter SDK path [ used Windows10 ]
You will see the path at the top
If you have the flutter SDK installed.
Run:
flutter doctor -v
The first line will show the install path..
(if you don't have it installed go to the documentation)
Once you have downloaded the Flutter SDK for your specific OS.
Unzip the file. Copy it to a better place. Your Flutter SDK path should be a_better_place/flutter. These would be used in tools such as VSCode or Android Studio.
For command line, you would add a_better_place/flutter/bin. Such as export PATH=a_better_place/flutter/bin:$PATH
I also had this problem and I solved it inserting my Flutter SDK path which was
C:\...\flutter_windows_v0.6.0-beta\flutter