Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Update to Android Studio 4.1 ,flutter plugin and dart plugin not Installed

I have got a similar question like this. But this problem occurred after updating Android Studio to version 4.1 from version 4.0.

using flutter flutter doctor -v

enter image description here

like image 790
Kasun Hasanga Avatar asked Oct 16 '20 19:10

Kasun Hasanga


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.

How do I fix the flutter SDK installation is incomplete?

Go to edit variables (This PC > properties > Advanced system settings > Advanced > Environment Variables). Edit (create if not exist) Path variable to "Extracted files: flutter\bin" then click ok. Download and install Git from https://git-scm.com/download/win. Open cmd, write "flutter", wait to download.

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.


4 Answers

I solve this problem like this

Only for MacOS

$ ln -s ~/Library/Application\ Support/Google/AndroidStudio4.1/plugins ~/Library/Application\ Support/AndroidStudio4.1
like image 152
MARU Avatar answered Oct 23 '22 09:10

MARU


Switch from Flutter 1.22.2 channel stable to channel dev and you're good to go.

Copy and paste this in your cmd:

flutter channel dev

flutter upgrade
like image 26
Jamilu Salisu Avatar answered Oct 23 '22 09:10

Jamilu Salisu


It is a flutter issue on 1.22 version, and happens after upgrading to Android Studio 4.1. It was already fixed on 1.23 version (dev channel). You can continue to run and work on your projects normally until this fix isn't ported to stable channel, or you can swith to dev channel and call flutter upgrade.

like image 11
Rafael Bartz Avatar answered Oct 23 '22 11:10

Rafael Bartz


As said above, it is just a time-being issue. You can change channels by running flutter channel dev. To know available channels you can run flutter channel

like image 6
dotKingfall Avatar answered Oct 23 '22 10:10

dotKingfall