Arnob
Arnob

Reputation: 527

dart sdk is not configured in macos

I already have dart sdk installed:

running dart --version gives me:

Dart SDK version: 2.17.6 (stable) (Tue Jul 12 12:54:37 2022 +0200) on "macos_arm64"

up until now I was using vscode but now I need to go back to android studio which gives me the following error on top of every dart file:

Dart sdk is not configured

N.B: This is not a fresh install. I have been using flutter and vscode in my mac for quite some time now

Upvotes: 0

Views: 996

Answers (1)

Yakubu
Yakubu

Reputation: 1089

Try this in your Android Studio.

  • Preference
  • plugin
  • search for flutter from the market
  • install flutter and also make sure dart is install, you can confirm by searching for dart also.
  • restart you android studio after and you should be fine

enter image description here

Upvotes: 1

Related Questions