作者说明:郭玉乐 yulekwok@gmail.com

✗ Flutter plugin not installed; this adds Flutter specific functionality. // 没有在AS中添加 flutter 进行 flutter 的添加

command , 进入偏好设置 点击plugin search flutter 进行安装

安装Flutter和Dart插件

需要安装两个插件:

Flutter插件: 支持Flutter开发工作流 (运行、调试、热重载等).
Dart插件: 提供代码分析 (输入代码时进行验证、代码补全等).
要安装这些:

启动Android Studio.
打开插件首选项 (Preferences>Plugins on macOS, File>Settings>Plugins on Windows & Linux).
选择 Browse repositories…, 选择 Flutter 插件并点击 install.
重启Android Studio后插件生效.

frc cbfc206f33efb06e938df7aca719f183 - Mac Flutter plugin not installed; this adds Flutter specific functionality
Screen Shot 2018-11-23 at 4.13.24 PM.png

✗ Dart plugin not installed; this adds Dart specific functionality.


flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, v0.11.2, on Mac OS X 10.14.1 18B75, locale en-CN)
[!] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor
      --android-licenses
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[✓] Android Studio (version 3.2)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[!] Connected device
    ! No devices available

! Doctor found issues in 2 categories.
yulekwoks-MacBook-Pro:~ yulekwok$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, v0.11.2, on Mac OS X 10.14.1 18B75, locale en-CN)
[!] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor
      --android-licenses
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[✓] Android Studio (version 3.2)
[!] Connected device
    ! No devices available

! Doctor found issues in 2 categories.

到此为止,恭喜您 flutter 已经OK!

作者说明:郭玉乐 yulekwok@gmail.com

Mac Flutter plugin not installed; this adds Flutter specific functionality