flutter doctor命令在哪里查找Android Studio、Visual Studio Code等。即使我安装了VSCode,我的也无法检测到它。
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.2.1, on Linux, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Android Studio (version 3.3)
[✓] Android Studio (version 3.4)
[!] IntelliJ IDEA Ultimate Edition (version 2019.1)
✗ 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我不会将Intellij与flutter一起使用,所以我可以简单地忽略这个警告。
我在Manjaro上,尝试通过i3安装VSCode开源(来自Arch Community Repository)和MS品牌版本(来自Arch User Repository)。
发布于 2019-09-29 14:16:44
你可以将VS代码添加到你的路径中,然后它就会被解决。
启动VS代码。
打开命令面板(Ctrl+Shift+P),键入'shell command‘查找Shell命令:
在路径命令中安装'code‘命令。
https://stackoverflow.com/questions/55964011
复制相似问题