I am trying to setup Flutter in my windows system. When I run the flutter doctor
, I get this error.
I can clearly see there are multiple versions of Android Studio So I tried these posts to remove the Android studio from my machine.
Link1
Link2
It still shows the same error. How do I remove Android Studio completely from my machine?
Everton Costa :
It happened to me also, but I am using Mac OSX.\nThe solution is simple, you have to add to the Flutter config a pointing path to the new Android Studio installations. Check where it are, put the correct path. Like this:\n\nflutter config --android-studio-dir \"/Applications/Android Studio.app/Contents\"\n\n\nIf you are using Windows system:\n\nflutter config --android-studio-dir \"C:\\Program Files\\Android\\Android Studio\"\n",
2020-03-06T14:59:41
Nassar :
I think that you need to install dart and flutter plugins,\nAs flutter documentation https://flutter.dev/docs/get-started/editor.\n\nInstall the Flutter and Dart plugins\nTo install these:\n\nStart Android Studio.\nOpen plugin preferences (Preferences > Plugins on macOS, File > Settings > Plugins on Windows & Linux).\nSelect Browse repositories, select the Flutter plugin and click Install.\nClick Yes when prompted to install the Dart plugin.\nClick Restart when prompted.",
2019-07-30T07:28:47