我已经在 Android Studio 上安装了flutter和 Dart 插件,但是当我运行 flutter Doctor时,表明没有安装插件< / p>
Doctor summary (to see all details, run flutter doctor -v):
[√]
Flutter (Channel stable, 1.22.3, on Microsoft Windows [Version 10.0.18363.1139], 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.
[√] VS Code (version 1.46.1)
[√] VS Code, 64-bit edition (version 1.51.0)
[√] Connected device (1 available)
! Doctor found issues in 1 category.
答案 0 :(得分:0)
答案 1 :(得分:0)
我有同样的问题检查:https://github.com/flutter/flutter-intellij/issues/4523
如果您使用的是Mac:ln -s ~/Library/Application\ Support/Google/AndroidStudio4.1/plugins ~/Library/Application\ Support/AndroidStudio4.1
对于Windows和/或Linux,您可以尝试Flutter Dev频道:
flutter channel beta
flutter upgrade