0

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,所以我可以简单地忽略该警告。

我在 Manjaro i3 上并尝试通过 pacman 安装 VSCode 开源(来自 Arch Community Repository)和 MS 品牌版本(来自 Arch User Repository)。

4

1 回答 1

0

您可以将 VS Code 添加到您的 PATH 中,然后它将被解决。

启动 VS 代码。

打开命令面板 (Ctrl+Shift+P) 并输入“shell command”以找到 Shell 命令:

在 PATH 命令中安装“代码”命令。

于 2019-09-29T06:16:43.950 回答