Flutter plugin not installed error; When running 'flutter doctor'
FlutterAndroid StudioDartFlutter PluginFlutter DoctorFlutter Problem Overview
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
for flutter
and dart
in the .bashrc
file, but I get this error when I run flutter 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.
Flutter Solutions
Solution 1 - Flutter
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 - Flutter
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
[tag:android][tag:flutter][tag:dart][tag:flutter-doctor]
Solution 3 - Flutter
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 - Flutter
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 - Flutter
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.
Solution 6 - Flutter
I had the same issue, but I fixed it just after running these commands:
flutter channel dev
flutter doctor
flutter channel master
flutter doctor
Solution 7 - Flutter
I had this problem when having multiple versions of Android Studio, and it doesn't look like you have multiple versions. But you do use IntelliJ IDEA Community Edition, so are you sure you did install the plugins in Android Studio?
Solution 8 - Flutter
According to following images first install required Flutter and Dart plugins and then after downloading the Flutter SDK from official-flutter-sdk-download-page, add Flutter and Dart paths:
Solution 9 - Flutter
The problem is with installing the required Flutter and Dart plugins. There are two ways in which you can achieve this:
-
Go to Android studio → Settings → plugins → in the search bar search for Flutter and Dart plugins. If you are installing Flutter first, then Dart may get automatically installed along with it; otherwise install them separately.
-
If you are using Visual Studio Code, in the activity bar click on extensions or press Ctrl + Shift + X. There you can search for Flutter and Dart plugins.
Now type flutter doctor
.
Solution 10 - Flutter
IntelliJ IDEA and Android Studio were installed on my machine. I deleted IntelliJ IDEA, because I have installed the Dart and Flutter plugins in Android Studio. Then the flutter doctor
command works perfectly.
Solution 11 - Flutter
When you execute the flutter doctor
command it checks your environment and displays a report to the terminal window. In your case it seems that you did not install the Dart and Flutter plugin to be able to use them in Android Studio.
To install a plugin, click on menu File → Settings → Plugins → Install JetBrains plugins
The plugins will add new functionalities to Android Studio related to Flutter. Example: it will add the Flutter inspector, outliner.
The SDK that you added to the path will be needed when creating a new Flutter project.
Solution 12 - Flutter
Linux users: I cd
'd into my home directory, added
export PATH="$PATH:/home/frodo/flutter/bin/flutter"
in the .bashrc
file, and source
ed it to refresh the .bashrc
file. It depends on where you moved your Flutter SDK.
Then I run flutter doctor
. I got the following results:
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)
[✓] IntelliJ IDEA Community Edition (version 2018.2)
[!] VS Code (version 1.25.1)
[!] Connected devices
! No devices available
To export the Flutter path permanently:
export PATH="$PATH:/path/to/dir"
in the .bashrc
file
For example:
export PATH="$PATH:/home/frodo/flutter/bin/flutter"
And run:
source .bashrc
Solution 13 - Flutter
You missed this step in the installation process.
Install the Flutter and Dart plugins:
- Start Android Studio.
- Open plugin preferences (File → Settings → Plugins on Windows & Linux OR Preferences → Plugins on macOS).
- Select Browse repositories, select the Flutter plugin and click Install.
- Click Yes when prompted to install the Dart plugin.
- Click Restart when prompted.
If are using Visual Studio Code, to install the Flutter and Dart plugins:
- Start Visual Studio Code.
- Invoke View → Command Palette.
- Type
install
, and select Extensions: Install Extensions. - Type
flutter
in the extensions search field, select Flutter in the list, and click Install. This also installs the required Dart plugin. - Validate your setup with the Flutter Doctor
- Invoke View → Command Palette….
- Type
doctor
, and select the Flutter: Run Flutter Doctor.
Review the output in the OUTPUT pane for any issues.
Solution 14 - Flutter
I met a similar error after updating Android Studio, and it turns out I need to update the existing Flutter plugin.
To fix it, go to Android Studio → Preferences → Plugins → Installed → update your installed Flutter plugin.
Solution 15 - Flutter
The best way to install it on Windows
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 1.20.1, on Microsoft Windows [Version 10.0.18363.959], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
[√] Android Studio (version 4.0)
[√] VS Code (version 1.47.3)
[!] Connected device
! No devices available
Solution 16 - Flutter
You can just install the Flutter and Dart plugin in Android Studio by following these steps:
- Start the Android Studio application
- Open plugin preferences (Preferences → Plugins on macOS, menu File → Settings → Plugins on Windows and Linux).
- Select Marketplace…, search the Flutter plugin, and click Install.
- Click Yes when prompted to install the Dart plugin.
- Click on Apply and OK.
- Click "Restart" on the popup.
The below image indicates where you should do it:
Solution 17 - Flutter
I solved this by opening the plugin in settings, where under the 'installed' tab, I noticed the blue text 'Plugin homepage' which was a shortcut to the JetBrains plugins. There was an agreement which I had to accept to get the full functionality. I did accept and I also edited my environment variables by adding path to the bin of dart-SDK. Previously I only had the bin of flutter added to path. Anyway, this solved my problem.
Solution 18 - Flutter
According to this comment, the plugins warnings doesn't matter. At least it didn't matter for me, and it's worked fine.
As stated,
> hi @EastCartel, try with flutter config > --android-studio-dir=C:\Program Files\Android\Android Studio or your correct path. and you have 3 issues. > > 1- First open your android studio and add the flutter plugin (this > automaticly add dart plugin too). > > > > 2- Also open visual studio code and add flutter extension. > > > > 3- And run flutter doctor --android-licenses > > > > if the problem persist try flutter upgrade > > good luck!
Solution 19 - Flutter
Just update Flutter SDK using
> flutter upgrade
It solved my all issues.
Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.5.0, on Microsoft Windows [Version 10.0.19043.1110], locale en-IN)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[√] Chrome - develop for the web
[√] Android Studio (version 4.2)
[√] Android Studio (version 2020.3)
[√] IntelliJ IDEA Ultimate Edition (version 2020.2)
[√] VS Code (version 1.60.0)
[√] Connected device (3 available)
Solution 20 - Flutter
If you are using Visual Studio Code then navigate to extensions and search for Flutter. Then simply install it and you must take care that you have already installed Dart there.
After that, if it doesn't work, then copy your Flutter bin path that you can locate at C/'flutter-SDK-path'/bin. Then copy it and add it to the environment variable and add it to that path, so you can easily be able to access Flutter.
If you are using Android Studio then the already-stated article help you.
And make sure that you have latest versions of SDKs and Android Studio or Visual Studio Code. So that versions can't introduce any error.
Solution 21 - Flutter
If you are using only VSCode for development then you don't need to install plugins for Android Studio and vice versa. It will never give you a problem.
Solution 22 - Flutter
I solved this problem by uninstalling Flutter from the Plugins. After restarting Android Studio, I opened the plugins, and then it shows that my Dart plugin is not compatible with my Android Studio (v3.6).
I updated Dart, restarted Android Studio, and then reinstalled Flutter again. After that, I have to set the SDK path for the Flutter and voilà everything works now :D
Solution 23 - Flutter
I’ve just had this problem after an update and I solved it entering menu File → Settings → Plugins. Then at the top of the window there are two options: Marketplace and Installed. Then I clicked on Installed and on the Flutter plugin there’s was a message saying that the current version of Flutter does not support the new version of Android Studio, so there was a green button written “Restart”. Then I clicked and when it opened again, the problem disappeared.
It may not be the same for you, but many people will search for it here and it may help someone.
Solution 24 - Flutter
Run this command in Terminal:
flutter config --android-sdk C:\Users\CHAMOD\AppData\Local\Android\Sdk
Then restart the IDE.
Solution 25 - Flutter
I was also facing these issues and found these solutions.
You've to install both "Flutter" and "Dart" plugins from MarketPlace.
For Windows: Android Studio → menu File → Settings → Plugins → search for "flutter" and "dart" and install them. Make sure you got this.
> > > > Now make sure you have set the SDK paths for both > > Now enjoy the fresh Flutter
Oh, you can upgrade to a new version just by typing flutter upgrade
.
Solution 26 - Flutter
If you have installed Android Studio more than one time, the command prompt or PowerShell assigned on the first one and maybe you are running the second one. So, browse for Android Studio, if you have more than one installation, delete the first one. Then, download the Plugins in Android Studio by following theese steps.
Step 1:Studio --> File --> Settings --> Plugins --> Browse Repositories
Step 2: Search for Flutter and download it
Step 3: When you're done restart Android Studio.
Solution 27 - Flutter
You have to install Flutter and Dart both on Visual Studio Code as well as Android Studio!
Try using the following command:
flutter doctor --android-licenses, and press y to install all licenses.
Solution 28 - Flutter
I had the same issue and can not fix by myself.
However, by using Visual Studio Code, it works fine. That error does not matter.
Solution 29 - Flutter
I was facing the same problem a few days back. Here's what worked for me,
-
Run the following commands
flutter channel beta flutter upgrade flutter config --enable-web
The snippet's main purpose is to enable web support for Flutter, but it also changes the release channel and updates the Flutter SDK to the latest version.
-
Run
flutter doctor
again; hopefully, it wouldn't show any issues now
Solution 30 - Flutter
In my case, I wasn't able to enable the plugin because I've recently updated to version 4.2.2 in Android Studio and I've checked out a Flutter SDK version which was not a stable version.
After I changed to a stable version while using fvm and re-install the plugin, it worked like a charm.
Solution 31 - Flutter
Final i resolved this issue to run below command. I am using android 4.2 and OS is Mac
> ln -s ~/Library/Application\ Support/Google/AndroidStudio4.2/plugins > ~/Library/Application\ Support/AndroidStudio4.2