Dart SDK is not configured

I had the same problem after importing a flutter project from git. These are the steps to solve the problem.

  1. File->Settings->Language & Framework->Flutter
  2. Choose flutter SDK path: the first time we install flutter, we choose the location where the flutter should be installed. Choose this location.
  3. Click OK and the android studio will refresh. Carry on if the problem is solved.
  4. If you are still stuck with the error.
  5. Goto this link and install Dart.
  6. Goto the same place in settings, ..Language & Framework->Dart and chose the SDK location.

This solved the issues for me.

Leave a Comment