Flutter plugin not installed error; When running 'flutter doctor'
Solution 1
Safe fix for Mac (Android Studio 4.1+). It is in a different directory now, but the symbolic link helps.
Just run this command in the Terminal:
ln -s ~/Library/Application\ Support/Google/AndroidStudio4.1/plugins ~/Library/Application\ Support/AndroidStudio4.1
If you have a different Android Studio version or an installation folder, adjust the command accordingly.
Solution 2
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.9.4, on Linux, locale en_IN)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.1)
[✓] Android Studio (version 3.1)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[!] Connected devices
! No devices available
A solution that worked for me:
- Just install plugins. Android Studio → menu File → Settings → Plugins → Browse Repositories
- Search for "flutter".
- Tap on Install (a dialog will pop regarding the Dart dependency. Click Yes).
- Once the installation is finished restart Android Studio.
Now run flutter doctor
:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.9.4, on Linux, locale en_IN)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.1)
[✓] Android Studio (version 3.1)
[!] Connected devices
! No devices available
androidflutterdartflutter-doctor
Solution 3
I had the same issue and none of the above answers fixed it, so I went to the Flutter official GitHub repository and found the answer there. Here is the link and you have to follow all these steps.
https://github.com/flutter/flutter/issues/67986
Flutter upgrade
flutter config --android-studio-dir="C:\Program Files\Android\Android Studio"
For Mac, you can do the following as answered by Andrew:
ln -s ~/Library/Application\ Support/Google/AndroidStudio4.1/plugins ~/Library/Application\ Support/AndroidStudio4.1
flutter doctor -v
Then if the issue still persists then just shift to the beta channel and upgrade Flutter. Then it will fix it.
Flutter channel beta
Flutter upgrade
You can enable Flutter web as an optional step.
Solution 4
For those who still have this error, even if they have tried the solutions mentioned before, try this. It works on Windows 10, macOS, and Linux (run in the command line):
flutter channel dev
flutter upgrade
flutter config --android-studio-dir="C:\Program Files\Android\Android Studio"
Solution 5
The issue is just that "flutter doctor" is not able to read behind the scene that everything is fine and up to date. This issue is temporary (till next patch or update) and can be avoided as it won't affect anywhere in the development process.
This is a frequently occurring issue when we are updating a newer version of Flutter. Recently also upon updating to Flutter 1.22.1(Stable), it throws a "Plugins Not installed" error, while they are installed and up to date. Uninstalling and reinstalling will also not work as Android Studio will again pick the same version to install.
Related videos on Youtube
Philip Mutua
BY DAY: compose python/typescript/javascript stuff @ work I do different diverse projects. An interesting project recently caught my eye involving blockchain tech. I help people on all the company's projects where I can. BY NIGHT: with fam, friends, enjoying the simple things in life, coding python/typescript/javascript stuff, sometimes I'll find myself answering StackOverflow questions.
Updated on December 26, 2021Comments
-
Philip Mutua over 2 years
I am configuring the Flutter SDK on my Linux Ubuntu 16.04 (Xenial Xerus) system. Why am I getting the following error when I run the flutter doctor?
I have specified both
PATHS
forflutter
anddart
in the.bashrc
file, but I get this error when I runflutter doctor
:Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel beta, v0.5.1, on Linux, locale en_US.UTF-8) [✓] Android toolchain - develop for Android devices (Android SDK 28.0.2) [✓] Android Studio (version 3.1) ✗ Flutter plugin not installed; this adds Flutter specific functionality. ✗ Dart plugin not installed; this adds Dart specific functionality. [✓] IntelliJ IDEA Community Edition (version 2018.2) [!] VS Code (version 1.25.1) [!] Connected devices ! No devices available ! Doctor found issues in 2 categories.
-
Günter Zöchbauer over 5 yearsI think you just need to update to a newer Flutter version.
-
Abdurakhmon almost 5 yearsOn Windows > Android Studio > File > Settings > Plugins > Search for flutter > Install
-
MJ Montes almost 5 yearsYou can ignore that if you;re not using Android Studio in Flutter Development. By default, Flutter and Dart plugins are not installed in Android Studio. You still need to manually install them. I would recommend VSCode in flutter development since it's lightweight.
-
Roman Soviak almost 5 yearsIn my case I had projects with different gradle versions. So in gradle-wrapper.properties I set
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
and in build.gradledependencies { classpath 'com.android.tools.build:gradle:3.2.1' }
-
151291 almost 5 yearsBut not required if you use Visual Studio Code I think.
-
Mr Special over 4 yearsall of the solutions do not work for me. Notice, I installed flutter and dart plugin already. How can I resolve the problem ?
-
F_Z about 4 yearsPlease answer these two questions. I am stuck here.. stackoverflow.com/questions/61338060/… stackoverflow.com/questions/61338362/…
-
Yusuf N over 3 yearsThis happens when flutter doctor cannot find the Android Studio plugins. It's an issue between flutter version and Android Studio version. For example, Android Studio 4.1 stores the plugins in ~/.local/share/Google/AndroidStudio4.1, and obviously flutter doesn't know about this and most probably looks in some old location that doesn't exist anymore.
-
Peternak Kode Channel over 3 yearsI get same problem, any best solution please
-
Wini over 3 yearshere is my answer please give it a try stackoverflow.com/a/64962784/12553303
-
Yash Randive over 2 yearsflutter upgrade worked for me
-
-
Philip Mutua over 5 yearsI already installed dart and their paths to
.bashrc
. When I typeflutter
ordart
in the terminal. The command line shows me a list of commands to use for eitherdart
orflutter
. -
Peter Haddad over 5 yearsyes but u need to also install the flutter and dart plugins for android studio to be able to use their functionality inside android studio. When you install the flutter plugin for android studio and click file>new you will have a new option called "new flutter project"
-
Mr Special over 4 yearsI installed flutter and dart plugin already. it does not work :(. I use android studio 3.1
-
noobEinstien over 3 years@MrSpecial Did you installed Android studio in different path? I have the same issue. My installation path is different and plugin is stored in User path
-
Atul over 3 years@noobEinstien How did you fix then?
-
noobEinstien over 3 years@Atul didn't fixed, They just showing available editors, it is not really matters.
-
Jaspal Singh Rathour over 3 yearsSo this has just occurred in the new release? did you manage to fix it?
-
Ruchir Rai over 3 yearsYes occurred this time also. It's better to ignore it. It is only a health report of our setup and should not be manipulated. It is in the knowledge of team flutter by now.
-
q8yas over 3 yearshi brother, this work for me , can more explain for what this command do ?
-
Andrew over 3 years@q8yas Command just redirects flutter doctor to the different folder to find plugins (where they are now)
-
KeithB over 3 yearsThis did not work for me, however, installing the plugin manually via the Android Studio, like Paresh Mangukiya recommended, did work.
-
Maruf Hassan over 3 yearsIts a bug, my android studio runs flutter properly just doesn't show on
flutter doctor -v
. I am opening an issue on Github to notify the devs, hopefully it will be fixed in the next update. -
Maki over 3 yearsThis worked on Windows 10, Flutter Beta and Android Studio 4.1.1. Thanks!
-
Jithin U. Ahmed over 3 yearsThis worked for me. Already installed the plugin. But same error was repeating. But this worked perfectly.
-
D B over 3 yearsI've faced with this problem before when I was developing Android app both in
Android studio
andIntellij Idea
at the same time. Both of them was writing to the same folder in the local path. It maybe the same issue here as well. -
Sobvan over 3 yearsSwitching to dev channel does seam to work on linux, too. Thanks for the tipp!
-
Janaka over 3 yearsI have the same problem. How do I fix this on windows 10?
-
David van Dugteren over 3 yearsThis worked for me as of 22 December 2020
-
drkvogel over 3 yearsWFM - Android Studio 4.1, Flutter (Channel stable, 1.22.5, on Mac OS X 10.14.6 18G4032 darwin-x64, locale en-GB) - thanks!
-
Ahmad Darwesh over 3 yearsYOU ARE THE BEST Thanks
-
itsme.cvk over 3 yearsIt is interesting how this helped to fix the issue! Helped me. Thanks for posting.
-
Paul Stoner over 3 yearsStill an issue in Flutter 1.22.5 (Stable)
-
davidzcode over 3 yearsIt works perfectly on Windows 10. Thanks !!
-
Shenk over 3 yearsWhat is this sorcery? +1
-
Gustanas over 3 yearsAccepting the agreement did the trick for me, thank you!
-
YEG about 3 yearsThis worked for me as of February 7, 2021
-
Syed Arsalan Kazmi about 3 yearsa happy user from Mac too!
-
Haya SVU about 3 yearsThaaaaaanks <3 Worked for me on Win 10
-
BNetz about 3 yearsdidn't work for me with Android Studio 4.2b4 as of February 13, 2021
-
Hugo H about 3 years@BNetz you should check your android studio 4.2 path and update the given command with according path.
-
ItamarG about 3 yearsWorked for me on ubuntu 20.04!
-
David Airapetyan about 3 yearsHad this problem with stable Flutter (1.22.6) and Android Studio 4.1.2, and switching Flutter to the beta channel (1.26.0-17.6.pre) solved the problem for me.
-
BNetz about 3 yearsSo the second path is exact like the first one just one directory-level higher?
-
Doc Kodam about 3 yearsStill an issue in Flutter 1.22.6 (Stable)
-
Ruchir Rai about 3 yearsUnfortunately, yes. It can't be understood why this left pending by the Flutter team. There are some other such small bugs that have been reported to the developers and have been taken into account but haven't been solved. Funny thing is that the beta versions are free from few of these bugs (haven't tested the latest one though).
-
Peter Mortensen about 3 yearsWhat environment variable (name)?
PATH
? Or another one? -
Oussama Makhlouk almost 3 yearsThanks Cheers !
-
AWP over 2 yearsBecause I seem to come back here every month or so... this is the command for Arctic Fox that worked for me:
ln -s ~/Library/Application\ Support/Google/AndroidStudio2020.3/plugins ~/Library/Application\ Support/AndroidStudio2020.3