闻心阁

一蓑烟雨看苍生,半壶浊酒笑红尘

Flutter docter 报错:Flutter / Dart plugin not installed Android Studio

2021-02-08 约 1 分钟读完 搬砖秘籍

安装Flutter遇到了如下的错误:

Android Studio (version 4.1)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.

解决方案

方案一:

ln -s ~/Library/Application\ Support/Google/AndroidStudio4.1/plugins ~/Library/Application\ Support/AndroidStudio4.1

方案二:

升级Flutter Beta版本

flutter channel beta
flutter upgrade

原因分析

Android Studio4.1版本将Plugin路径改了,所以要么升级Flutter,要么映射一个路径。