Reputation: 561
Installed flutter using homebrew: https://formulae.brew.sh/cask/flutter#default
I can't find the SDK Path, tried copy and pasting this:
1./opt/homebrew/Caskroom/flutter/2.0.5/flutter/bin/internal/shared.sh, and, /opt/homebrew/bin/flutter'
but the result shows that the folder specified as the FLUTTER SDK home does not exist, how am I able to find the Flutter SDK path
Upvotes: 19
Views: 18592
Reputation: 2627
find your homebrew futter path
flutter doctor -v
Copy the path under the Flutter stable channel info, eg. • Flutter version 3.0.5 at /opt/homebrew/Caskroom/flutter/3.0.5/flutter
Open vsCode settings, search flutter path, add the path you just copied to these two places:
Upvotes: 3
Reputation: 2561
If you install flutter
using brew install --cask flutter
and you are on macOS version 12.2.1
. Then flutter
is located in the Caskroom
folder.
For example, usr/local/Caskroom/flutter/2.10.3/flutter
In my case I installed flutter version 2.10.3
so that is the reason you use flutter SDK located inside the version folder/directory
.
Upvotes: 0
Reputation: 4038
Type flutter doctor -v
in Terminal, the first line will show the location!
Upvotes: 43