Write the Code. Change the World.

2月 25

明明我就安装了 flutter 和 dart 插件,可偏偏检查说没有。咋回事呢。这个是 android studio 4.1 改变了 plugin folder 的路径。下边解决吧。


flutter doctor 结果:

❯ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.22.5, on macOS 11.2.1 20D74 darwin-x64, locale

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 12.4)
[!] Android Studio (version 4.1)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] VS Code
[!] Connected device
    ! No devices available

! Doctor found issues in 2 categories.


# 加个软链(你可以 cd 进去看看的)
ln -s ~/Library/Application\ Support/Google/AndroidStudio4.1/plugins ~/Library/Application\ Support/AndroidStudio4.1


win 直接升级 flutter 版本就可以了。


电子邮件地址不会被公开。 必填项已用*标注