我也有同样的问题。在我的具体情况下,我只是:
现在我没有更多错误了。
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.8.1, on macOS 12.1 21C52 darwin-arm, locale fr-BE)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
[✓] Chrome - develop for the web
[!] Android Studio (not installed)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.3)
[✓] VS Code (version 1.63.2)
[✓] Connected device (2 available)
! Doctor found issues in 1 category.
有一些
step
可以帮助您
关闭编辑器
转到控制台
使用此命令将编辑器的路径设置为 flutter 目录
flutter config --android-studio-dir="代码编辑器的路径"
确保路径周围有双引号。