【问题标题】:How to fix flutter doctor error android studio not installed, and IntelliJ IDEA, even though I've installed it already如何修复未安装的颤振医生错误android studio和IntelliJ IDEA,即使我已经安装了它
【发布时间】:2021-11-06 01:16:54
【问题描述】:

我是学习 Flutter 的初学者。我已经安装了 Android Studio 和颤振。我在 Windows Powershell 上运行了命令 flutter --version,我收到的输出是 Flutter 2.2.3 • channel stable • https://github.com/flutter/flutter.git Framework • revision f4abaa0735 (2 months ago) • 2021-07-01 12:46:11 -0700 Engine • revision 241c87ad80 Tools • Dart 2.13.4 我运行的下一个命令是flutter doctor,我收到的输出为:

    Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.2.3, on Microsoft Windows [Version 10.0.19041.1165], locale en-IN)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    X Cannot execute C:\Users\lenovo\IntelliJ IDEA Community Edition 2021.1\bin\java to determine the version
[√] Chrome - develop for the web
[X] Visual Studio - develop for Windows
    X Visual Studio not installed; this is necessary for Windows development.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components
[!] Android Studio (not installed)
[√] Connected device (3 available)

! Doctor found issues in 3 categories.

谁能帮我解决这个问题?

【问题讨论】:

    标签: visual-studio flutter android-studio intellij-idea flutter-doctor


    【解决方案1】:

    我在 Windows 上遇到了同样的问题。对我来说,这似乎不会在 Linux (Ubuntu) 上发生。 但这是一个你可以忽略的警告。即使 Flutter Doctor 无法识别 Android Studio,如果其他一切都设置好了,您仍然可以在 Android Studio 中使用它。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-05-12
      • 2020-04-26
      • 2022-06-16
      • 2019-02-19
      • 2022-11-04
      • 2019-01-22
      • 2021-08-11
      • 2021-06-29
      相关资源
      最近更新 更多