0

I am new to the Flutter development environment. I downloaded the flutter and dart sdk and have added their path to the environment variable in the ~/.bashrc file. I am using Android studio for developing Flutter apps. I installed the Flutter and Dart plugins in Android Studio but when I am running the command flutter doctor it gives the following error:

flutter doctor command issue

Flutter and Dart Plugins installed in Android Studio

Flutter and Dart Plugins Installed

I have no idea why flutter doctor cannot detect the plugins installed for Android Studio.

0

1 Answer 1

1

Try to restart android studio after the installation of plugins, then run flutter doctor.

If it doesn't help, maybe the path of your android sdk is not set properly.

  • Get path of android sdk by going to Android Studio > Preferences and then find for sdk as shown in the picture. It should look like /Users/yourName/Library/Android/sdk

    enter image description here

  • run the command flutter config --android-sdk PATH_TO_ANDROID_SDK in your terminal.

Once done, restart your machine and run flutter doctor.

Sign up to request clarification or add additional context in comments.

8 Comments

I restarted Android Studio but still it is giving me the same issue.
-Uninstall Dart and flutter -Restart android studio or intellij -Install Dart and flutter and restart again
Which version of android studio are u using?
Android Studio v3.5.3
Have you set the path to your android sdk?
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.