我安装了最新版的Android Studio(4.1.1),最新版的Flutter(Flutter 1.22.4 • channel stable)。我在 Android Studio 中安装了 Dart & Flutter 插件。但是flutter医生给出了插件未安装的问题。
这是颤振医生命令结果:
[√] Flutter (Channel stable, 1.22.4, on Microsoft Windows [Version 10.0.16299.19], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[!] Android Studio (version 4.1.0)
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
[!] Connected device
! No devices available
! Doctor found issues in 2 categories.
我设置了 android studio 配置路径
flutter config --android-studio dir="C:\Program Files\Android\Android Studio"
但结果是一样的。