Skip to content

flutter doctor incorrectly reports the Dart plugin as missing #163214

@kszczek

Description

@kszczek

Steps to reproduce

  1. Install the latest version of Android Studio (2024.2.1 Patch 2) on a Linux desktop.
  2. Install the Dart and Flutter plugins.
  3. Run flutter doctor -v

Expected results

[✓] Android Studio (version 2024.2) [154ms]
    • Android Studio at /home/kamil/.local/apps/android-studio
    • Flutter plugin version 83.0.3
    • Dart plugin version 242.24931
    • Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)

Actual results

[✓] Android Studio (version 2024.2) [142ms]
    • Android Studio at /home/kamil/.local/apps/android-studio
    • Flutter plugin version 83.0.3
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)

Flutter Doctor output

Doctor output
[✓] Flutter (Channel stable, 3.29.0, on Fedora Linux 41 (Workstation Edition) 6.12.11-200.fc41.x86_64, locale en_US.UTF-8) [232ms]
    • Flutter version 3.29.0 on channel stable at /home/kamil/.local/apps/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 35c388afb5 (3 days ago), 2025-02-10 12:48:41 -0800
    • Engine revision f73bfc4522
    • Dart version 3.7.0
    • DevTools version 2.42.2

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [2.1s]
    • Android SDK at /home/kamil/Android/Sdk
    • Platform android-35, build-tools 35.0.0
    • Java binary at: /home/kamil/.local/apps/android-studio/jbr/bin/java
      This is the JDK bundled with the latest Android Studio installation on this machine.
      To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
    • Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)
    • All Android licenses accepted.

[✓] Chrome - develop for the web [137ms]
    • CHROME_EXECUTABLE = /usr/bin/brave-browser-stable

[✓] Linux toolchain - develop for Linux desktop [318ms]
    • clang version 19.1.7 (Fedora 19.1.7-2.fc41)
    • cmake version 3.30.7
    • ninja version 1.12.1
    • pkg-config version 2.3.0

[✓] Android Studio (version 2024.2) [136ms]
    • Android Studio at /home/kamil/.local/apps/android-studio
    • Flutter plugin version 83.0.3
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)

[✓] VS Code (version 1.97.1) [16ms]
    • VS Code at /usr/share/code
    • Flutter extension version 3.104.0

[✓] Connected device (2 available) [135ms]
    • Linux (desktop) • linux  • linux-x64      • Fedora Linux 41 (Workstation Edition) 6.12.11-200.fc41.x86_64
    • Chrome (web)    • chrome • web-javascript • Brave Browser 133.1.75.175

[✓] Network resources [412ms]
    • All expected network resources are available.

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    platform-linuxBuilding on or for Linux specificallyt: flutter doctorProblem related to the "flutter doctor" toolteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions