我正在我的Linux Ubuntu 16.04 (Xenial Xerus)系统上配置Flutter SDK。为什么在运行颤振诊断程序时出现以下错误?
我已经在.bashrc文件中为flutter和dart指定了path,但是当我运行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.
在Windows上安装它的最好方法
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 1.20.1, on Microsoft Windows [Version 10.0.18363.959], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
[√] Android Studio (version 4.0)
[√] VS Code (version 1.47.3)
[!] Connected device
! No devices available
打开Android Studio,菜单文件→设置→插件,确保安装了Flutter和Dart
转到Visual Studio代码扩展,并安装Flutter和Dart扩展
在Windows上安装它的最好方法
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 1.20.1, on Microsoft Windows [Version 10.0.18363.959], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
[√] Android Studio (version 4.0)
[√] VS Code (version 1.47.3)
[!] Connected device
! No devices available
打开Android Studio,菜单文件→设置→插件,确保安装了Flutter和Dart
转到Visual Studio代码扩展,并安装Flutter和Dart扩展