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 b
When you execute the flutter doctor
command it checks your environment and displays a report to the terminal window. In your case it seems that you did not install the dart and flutter plugin to be able to use them in Android Studio.
To install a plugin, click on Files>Settings>Plugins>install jetbrain plugins
The plugins will add new functionalities to android studio related to flutter. Example it will add the flutter inspector, outliner.
The SDK that you added to the path, will be needed when creating a new flutter project.
According to following images first install required flutter
and dart
plugins and then after downloading Flutter sdk from official-flutter-sdk-download-page, add flutter and dart paths:
You missed this step in the installation process.
Install the Flutter and Dart plugins:
If are using Visual Studio Code, to Install the Flutter and Dart plugins:
install
, and select Extensions: Install Extensions.flutter
in the extensions search field, select Flutter in the list, and click Install. This also installs the required Dart plugin.doctor
, and select the Flutter: Run Flutter Doctor.Review the output in the OUTPUT pane for any issues.
If you are using only VSCode for development then you don't need to install plugins for Android Studio and vice versa. It will never give you a problem.