Flutter plugin not installed error;. When running flutter doctor

avatar
3523    1 year ago

I am configuring flutter SDK on my Linux Ubuntu 16.4 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 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.
Answers { 1 }
avatar
1 year ago

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

Solution that worked for me:

  1. Just install plugins.
    Studio>>Configure>Plugins>Browse Repositories
  2. Search for flutter.
  3. Tap on Install (a dialog will pop regarding dart dependency. click Yes).
  4. Once the installation is finished restart android studio.

enter image description here

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