close
Dart SDK is not configured, Dart SDK is not configured flutter, enable dart sdk support, Dart SDK is not configured android studio, Dart SDK is not configured in flutter

[Solved] Dart SDK is not configured

Hello Guys How are you all? Hope You all are fine. Today I set up Android Studio. Then I cloned an example of a flutter project and launched it in Android Studio, but it warns me “Dart SDK is not configured” in a flutter. So today Here I come with all possible solutions for this error.

We are providing you all possible solutions to solve this error. let’s start this article without wasting your time.

How Dart SDK is not configured Error Occurs ?

Today I set up Android Studio. Then I cloned an example of a flutter project and launched it in Android Studio, I am facing following error.

Dart SDK is not configured,
Dart SDK is not configured flutter,
enable dart sdk support,
Dart SDK is not configured android studio,
Dart SDK is not configured in flutter

How to Solve Dart SDK is not configured Error?

  1. How to Solve Dart SDK is not configured Error?

    To resolve Dart SDK is not configured issue we just need to Choose flutter SDK path for that particular project and enable dart SDK support for that project. after importing a flutter project from git. These are the steps to solve the problem.

  2. Dart SDK is not configured

    To resolve Dart SDK is not configured issue we just need to Choose flutter SDK path for that particular project and enable dart SDK support for that project. after importing a flutter project from git. These are the steps to solve the problem.

Solution 1

  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. Go to this link and install Dart.
  5. Go to the same place in settings, ..Language & Framework->Dart and chose the SDK location.
Dart SDK is not configured,
Dart SDK is not configured flutter,
enable dart sdk support,
Dart SDK is not configured android studio,
Dart SDK is not configured in flutter

Solution 2

  1. File-> Settings (ctrl+alt+s)
  2. Languages and Frameworks -> Dart
  3. Check “Enable Dart support for the project…”
  4. In “Dart SDK path” click in “…” and navigate to flutter SDK directory. Under that directory you’ll find “bin/cache/dart-sdk”. This is the dart sdk path you should use.
  5. Click “Apply”
  6. Close the project and open it again (sometimes you need this step, sometimes doesn’t)

Summery

So, It’s All About this error. I hope this tutorial helps you to solve your error. Please Comment Below if You stucks anywhere with my code.

Also Check Out Below Tutorials


Posted

in

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *