Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio Dart And Flutter Plugin is not installed

Here is the flutter doctor result:

[√] Flutter (Channel stable, 1.22.1, on Microsoft Windows [Version 10.0.18362.30], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[!] Android Studio
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
[!] Connected device
    ! No devices available

! Doctor found issues in 2 categories.

I have already installed the flutter plugin. But the problem still exists. How can I fix this?

like image 918
Sanskardham Gurukul Avatar asked Oct 15 '20 10:10

Sanskardham Gurukul


People also ask

Why is flutter Android Studio not installed?

To solve this Android Studio (not installed) You just need to flutter the config to set the android studio path.

Can I install flutter in Android Studio?

How to Install Flutter on Android? Download the Android Studio and install it. Open Android Studio > Android Studio Setup Wizard . This installs the latest version of Android SDK, Android SDK Platform-Tools, and Android SDK Build-Tools, which are essential while developing a Flutter app for the Android system.

How do I add plugins to flutter?

To create a plugin package, Use the --template=plugin flag with the Flutter create command. Use the --platforms= option followed by a comma-separated list to specify the plugin supports platforms. Available platforms are Android, iOS, web, Linux, macOS, and Windows.


Video Answer


4 Answers

Just run this on your terminal (Mac users)

ln -s ~/Library/Application\ Support/Google/AndroidStudio4.1/plugins ~/Library/Application\ Support/AndroidStudio4.1
like image 65
MUHAMMED IQBAL PA Avatar answered Oct 12 '22 12:10

MUHAMMED IQBAL PA


Well hello all

I would suggest you all to follow the steps what flutter documentation sites tells you to do

For windows-->There are some people who got detected flutter and dart plugins by the flutter doctor and few are not

I got this issue when I tried to install ... I did everything like installed flutter and dart plugin still my flutter doctor haven't detected the plugins ...

following steps worked for me

flutter channel dev
flutter upgrade
flutter config --android-studio-dir="C:\Program Files\Android\Android Studio"
flutter doctor -v

note :--- flutter config --android-studio-dir="C:\Program Files\Android\Android Studio" should be example flutter config "C:\Program Files\Android\Android Studio"

above steps worked for me i hope it will helps you too :)

like image 32
Wini Avatar answered Oct 12 '22 12:10

Wini


change channel master to dev. then upgrade.

flutter channel dev
flutter channel upgrade

try again

flutter doctor

Note: I think it's Android Studio 4.1 issue...

like image 19
Serdar Polat Avatar answered Oct 12 '22 14:10

Serdar Polat


Since you say you have flutter plugin installed in Android Studio, and if Android Studio correctly shows your installed plugin, there is no reason to believe any third-party tool reporting otherwise.

Also, this will not affect your flutter development and your IDE plugins will work as expected inside the IDE and flutter tool's commands work independent of the IDE in use.

Android Studio 4.1 apparently changed its default plugin install path.

Related github issue: [flutter_tools] IDE plugin validators should be deprecated #61246

Flutter does not directly use the IDE plugins, so doctor failing to detect them does not affect any behavior (it's just annoying).

like image 7
lost-and-found Avatar answered Oct 12 '22 13:10

lost-and-found