Cannot locate Dart SDK
See original GitHub issueThis looks exiting! I tried to install on a Mac, but I get the error that it cannot locate the Dart SDK (Dart-Code: Could not find a Dart SDK to use. Please add it to your PATH or set it in the extensions settings and reload
).
I tried to configure it like this, but I still get the error:
$ cat "$HOME/Library/Application Support/Code/User/settings.json"
// Place your settings in this file to overwrite the default settings
{
"dart.sdkPath": "/usr/local/Cellar/dart/1.18.1/"
}
$
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Dart SDK is not configured - Stack Overflow
Open preferences by pressing ctrl+alt+s or cmd+, on mac. Under Language & Frameworks choose Dart find Dart SDK path . Put that path...
Read more >[2022] 7 Steps to Fix Dart SDK is not Configured in Flutter
To fix the Dart SDK is not Configured error, first of all, you must obtain the Flutter installation path and then figure out...
Read more >How to Solve Dart SDK is not Configured in Flutter??
In “Dart SDK path” click in “…” and navigate to the Flutter SDK directory. Under that directory, you'll find “bin/cache/dart-sdk”. This is the ......
Read more >Error - Dart SDK is not configured in Android Studio.
First of all whenever you see this error then see your flutter framework SDK path is set or not. In my system it...
Read more >Get Started with Dart SDK - Contentstack
Create a New Flutter Project in VS Code · Open VS Code and select Extensions from the left navigation panel. · Then, in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I got it to work! The directory layout homebrew gives you is a bit odd – the correct path is:
/usr/local/Cellar/dart/1.18.1/libexec/
not
/usr/local/Cellar/dart/1.18.1/
Yup: