-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Labels
found in release: 3.13Found to occur in 3.13Found to occur in 3.13found in release: 3.15Found to occur in 3.15Found to occur in 3.15fyi-androidFor the attention of Android platform teamFor the attention of Android platform teamhas reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versiont: flutter doctorProblem related to the "flutter doctor" toolProblem related to the "flutter doctor" toolteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
Is there an existing issue for this?
- I have searched the existing issues
- I have read the guide to filing a bug
Steps to reproduce
- Run an Arch-based Linux distribution.
- Install
jdk-openjdkand its dependencies. - Install
flutterusing the official.tar
Actual results
In #134333, I was instructed to open a new issue after making sure Java is properly installed. I made sure java --version successfully executes (output included in logs); furthermore, it's evident in the output of flutter doctor --verbose that flutter detects the java binary, and can successfully run java --version but fails to parse the output.
Logs
Logs
java --version:
openjdk 21 2023-09-19
OpenJDK Runtime Environment (build 21+35)
OpenJDK 64-Bit Server VM (build 21+35, mixed mode, sharing)Flutter Doctor output
Doctor output
Could not parse java version from:
openjdk 21 2023-09-19
OpenJDK Runtime Environment (build 21+35)
OpenJDK 64-Bit Server VM (build 21+35, mixed mode, sharing)
If there is a version please look for an existing bug
https://github.com/flutter/flutter/issues/ and if one does not exist
file a new issue.
[✓] Flutter (Channel stable, 3.13.5, on Artix Linux 6.5.4-artix2-1,
locale en_US.utf8)
• Flutter version 3.13.5 on channel stable at
/home/mohab/.local/share/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 12fccda598 (5 days ago), 2023-09-19 13:56:11
-0700
• Engine revision bd986c5ed2
• Dart version 3.1.2
• DevTools version 2.25.0
[!] Android toolchain - develop for Android devices (Android SDK
version 34.0.0)
• Android SDK at /opt/android-sdk
• Platform android-34, build-tools 34.0.0
• ANDROID_HOME = /opt/android-sdk
• ANDROID_SDK_ROOT = /opt/android-sdk
• Java binary at: /usr/bin/java
✗ Could not determine java version
• All Android licenses accepted.
[✗] Chrome - develop for the web (Cannot find Chrome executable at
google-chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome
executable.
[✗] Linux toolchain - develop for Linux desktop
✗ clang++ is required for Linux development.
It is likely available from your distribution (e.g.: apt
install clang), or can be downloaded from
https://releases.llvm.org/
✗ CMake is required for Linux development.
It is likely available from your distribution (e.g.: apt
install cmake), or can be downloaded from
https://cmake.org/download/
✗ ninja is required for Linux development.
It is likely available from your distribution (e.g.: apt
install ninja-build), or can be downloaded from
https://github.com/ninja-build/ninja/releases
• pkg-config version 1.8.1
[!] Android Studio (not installed)
• Android Studio not found; download from
https://developer.android.com/studio/index.html
(or visit
https://flutter.dev/docs/get-started/install/linux#android-setu
p for detailed instructions).
[✓] Connected device (1 available)
• Linux (desktop) • linux • linux-x64 • Artix Linux
6.5.4-artix2-1
[✓] Network resources
• All expected network resources are available.
! Doctor found issues in 4 categories.
lupaulus and GrabbenD
Metadata
Metadata
Assignees
Labels
found in release: 3.13Found to occur in 3.13Found to occur in 3.13found in release: 3.15Found to occur in 3.15Found to occur in 3.15fyi-androidFor the attention of Android platform teamFor the attention of Android platform teamhas reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versiont: flutter doctorProblem related to the "flutter doctor" toolProblem related to the "flutter doctor" toolteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.