Flutter Doctor -- "Android Studio (not installed)"

运行 flutter doctor 的时候出现 Android Studio (not installed)

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v1.1.8, on Mac OS X 10.13.6 17G4015, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[!] Android Studio (not installed)
[✓] IntelliJ IDEA Ultimate Edition (version 2018.3.3)
[✓] Connected device (1 available)

! Doctor found issues in 1 category.

window 系统上的解决方案(前提已经安装了 android studio):

flutter config --android-studio-dir <path to android studio. Default: "c:\program files\android\android studio">

详见 https://github.com/flutter/flutter/issues/27283

上一篇:macOS 系统输入 appium-doctor后提示JAVA_HOME 环境变量未设置的解决办法


下一篇:HADOOP入门(2):使用(1)安装(1)Hadoop目录结构