【问题标题】:Flutter Doctor - Cannot determine if IntelliJ is installedFlutter Doctor - 无法确定是否安装了 IntelliJ
【发布时间】:2021-08-08 15:13:53
【问题描述】:

Flutter Doctor - 无法确定是否安装了 IntelliJ

我尝试在我的 Mac OSX 上安装颤振 2.2,但颤振医生为 IntelliJ 抛出错误。我已经在我的 MAC OSX 上安装了 IntelliJ IDEA CE。

我已遵循以下文档,但没有日志可以确认它正在其中搜索 IntelliJ 的文件夹。 Reference Manual

(base) Thomass-MacBook-Pro:JLPT thomasvimaleasok$ flutter doctor -v
[✓] Flutter (Channel stable, 2.2.0, on macOS 11.1 20C69 darwin-x64, locale
    en-IN)
    • Flutter version 2.2.0 at
      /Users/thomasvimaleasok/Projects/flutterapps/flutter
    • Framework revision b22742018b (4 days ago), 2021-05-14 19:12:57 -0700
    • Engine revision a9d88a4d18
    • Dart version 2.13.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/thomasvimaleasok/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      ???? https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      ???? https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✗] Cannot determine if IntelliJ is installed
    ✗ Directory listing failed

[✓] VS Code (version 1.54.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      ???? https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 90.0.4430.212

! Doctor found issues in 1 category.

【问题讨论】:

标签: flutter intellij-idea intellij-plugin flutter-doctor


【解决方案1】:

我与这个错误斗争了一段时间,但最终找到了适合我的情况的解决方案。

我的应用程序文件夹中有一个不可读的文件夹(与 IntelliJ 无关)。该位置的sudo chmod a+rx 解决了该问题。

flutter doctor -vv 出现了错误,但问题出现在执行日志的开头,而不是Cannot determine if IntelliJ is installed 错误附近的任何地方。

【讨论】:

    猜你喜欢
    • 2013-02-20
    • 2021-01-16
    • 2021-02-15
    • 2021-10-20
    • 2021-01-29
    • 2020-05-19
    • 2021-04-09
    • 2019-01-15
    • 1970-01-01
    相关资源
    最近更新 更多