New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flutter and Dart plugin not installed warnings in flutter doctor #11940
Comments
I recommend you setup again as described on https://flutter.io/setup-macos/ |
I alerady faced this issue but i solved by myself |
I found an alternative way to fix this issue. You can just install the Flutter and Dart plugin in android studio by following these steps: |
working wonderfull |
Thanks for helping...:) |
I did what bradh43 said but I am still getting the following: They are installed and enabled, also the paths are set. I have also restarted the AS. |
@giteekasawlani I have the same problem. Do you know how to solve it? |
I was able to resolve the issue. In my case, I was not using Stable Android Studio and when I installed the stable version 3.1.2, it worked as a charm and I was able to create an application. |
I think I am starting to understand the issue.
According to packages/flutter_tools/lib/src/android/android_studio.dart, for Windows and Linux,
for the Flutter and Dart plugins, but for those of us running Beta or even Canary channel of Android Studio, the directory is actually here:
The current code actually manages to find the $HOME/.AndroidStudioPreview3.2 directory correctly: final RegExp _dotHomeStudioVersionMatcher =
new RegExp(r'^\.AndroidStudio([^\d]*)([\d.]+)'); But elsewhere in the code, it does not use the above result, and instead hard-codes the plugin path like so: if (platform.isMacOS) {
_pluginsPath = fs.path.join(
homeDirPath,
'Library',
'Application Support',
'AndroidStudio$major.$minor');
} else {
_pluginsPath = fs.path.join(homeDirPath,
'.AndroidStudio$major.$minor',
'config',
'plugins');
} i.e. $HOME/AndroidStudio3.2/config/plugins, which does not exist today (3.2 is still in beta). I am very new to Dart and do not know how to fix the code properly yet, but hope the Flutter authors could fix this. Many thanks! |
Got resolution! Followed bradh43's directions, got plugins installed, restarted Android Studio, and flutter doctor still said No Dart/Flutter plugins. But restarting the Mac fixed it, now flutter doctor gives Android Studio the checkmark. OSX 10.3.6, AS 3.1.3. |
中国的老哥无论是否翻墙都要配置国内镜像,否则common tools下载不成功 |
@admin95271 don't worry. use proxy can directly download the library. |
我遇到了相同的问题,因为我的Android Studio是preview版本。我通过安装正式版的Android Studio version3.2.1 解决了这个问题 |
@bradh43 it works, thank you |
@jiayuanfa your Flutter install looks corrupted. |
got the same problem. following steps save me from this situation. |
Some people mentioned earlier have avoided or solved this problem by installing a stable version of Android Studio. Let me talk about the solution for the preview version of Android Studio (tested on Windows 10). I am using
If you use a custom
before fix:
after that :
|
Configure this : |
@Diwas777 setting |
I experienced this issue on Mac and even with @bradh43's instructions I was still seeing the same messages: So I fully uninstalled Android Studio and reinstalled the sdk with brew using @mrded's post on this link. Everything worked fine after the reinstallation. |
Before
Flutter's flutter and dart Android Studio 4.1 plugins are not not found by flutter. You need to switch to flutter dev with
But before all of this, you need to install flutter and dart plugins for Android Studio. |
change channel master to dev. then upgrade.
try again
Note: I think it's Android Studio 4.1 issue... |
I had the same problem. Run the commands:
Don't forget to install Dart and Flutter plugins for Android Studio. |
This worked like a charm |
This is a quick solution if your android studio cannot find the path : |
|
If you are Linux User, try this |
I have downgraded to android studio 3.6.3, still the same issue |
what if you don't want to work on unstable dev channel ? |
✗ Flutter plugin not installed; this adds Flutter specific functionality. Flutter 1.22.5 stable version issue |
I fix this problem step1 : run> flutter channel dev |
Thanks for this... Really helpful 😃 |
This really works! At least it worked for me! No stress!! |
I wonder why it works on dev and not in stable? |
try this line of code, worked for me
|
配置了还是不行啊…… |
this worked for me |
Same problem. Installed in alll-standard settings on fresh Mac. The plugins are both not recognized in current stable flutter. |
yes mine solved by switching to the dev channel, but why it cant work on stable channel? |
It works for me, too. Thanks a tone |
I tried all of this but none worked for me. What I did was super easy and cool |
ist work |
This comment was marked as spam.
This comment was marked as spam.
Change the version of the Android studio depending on what you have, I had 4.2 so used.
|
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
I'm using IntelliJ CE 2017.2.3 EAP and I get missing plugin warnings in
flutter doctor
when it seems like everything is installed properly and I have no issues building.The text was updated successfully, but these errors were encountered: