Closed
Description
Steps to reproduce
flutter doctor -v
works on 3.29.3 but hang on 3.32.0
➜ bin git:(stable) ./flutter doctor -v
┌─────────────────────────────────────────────────────────┐
│ A new version of Flutter is available! │
│ │
│ To update to the latest version, run "flutter upgrade". │
└─────────────────────────────────────────────────────────┘
[!] Flutter (Channel stable, 3.29.3, on Arch Linux 6.14.6-arch1-1, locale en_US.UTF-8) [136ms]
• Flutter version 3.29.3 on channel stable at /home/umnik/Downloads/flutter
! Warning: `flutter` on your path resolves to /opt/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /home/umnik/Downloads/flutter. Consider adding
/home/umnik/Downloads/flutter/bin to the front of your path.
! Warning: `dart` on your path resolves to /opt/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /home/umnik/Downloads/flutter. Consider adding
/home/umnik/Downloads/flutter/bin to the front of your path.
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ea121f8859 (6 weeks ago), 2025-04-11 19:10:07 +0000
• Engine revision cf56914b32
• Dart version 3.7.2
• DevTools version 2.42.3
• If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.
[✓] Android toolchain - develop for Android devices (Android SDK version 36.0.0) [1,285ms]
• Android SDK at /mnt/DATA/Android/Sdk/
• Platform android-36, build-tools 36.0.0
• ANDROID_HOME = /mnt/DATA/Android/Sdk/
• Java binary at: /opt/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.6+-13368085-b895.109)
• All Android licenses accepted.
[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome) [76ms]
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Linux toolchain - develop for Linux desktop [177ms]
• clang version 19.1.7
• cmake version 4.0.2-dirty
• ninja version 1.12.1
• pkg-config version 2.4.3
[✓] Android Studio (version 2024.3.2) [74ms]
• Android Studio at /opt/android-studio
• Flutter plugin version 85.2.3
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 21.0.6+-13368085-b895.109)
[✓] Connected device (1 available) [75ms]
• Linux (desktop) • linux • linux-x64 • Arch Linux 6.14.6-arch1-1
[✓] Network resources [544ms]
• All expected network resources are available.
! Doctor found issues in 2 categories.
But after upgrade it's not working. I have two flutter now just for repro. You can ignore
! Warning: `flutter` on your path resolves to /opt/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /home/umnik/Downloads/flutter. Consider adding /home/umnik/Downloads/flutter/bin to the front of your path.
! Warning: `dart` on your path resolves to /opt/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /home/umnik/Downloads/flutter. Consider adding /home/umnik/Downloads/flutter/bin to the front of your path.
So:
➜ bin git:(stable) ./flutter upgrade
Upgrading Flutter to 3.32.0 from 3.29.3 in /home/umnik/Downloads/flutter...
Downloading Linux x64 Dart SDK from Flutter engine 18818009497c581ede5d8a3b8b833b81d00cebb7...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 188M 0 32818 0 0 92756 0 0:35:30 --:--:-- 0:35:30 92706
6 188M 6 11.3M 0 0 8648k 0 0:00:22 0:00:01 0:00:21 8647k
26 188M 26 50.2M 0 0 21.4M 0 0:00:08 0:00:02 0:00:06 21.4M
46 188M 46 88.5M 0 0 26.4M 0 0:00:07 0:00:03 0:00:04 26.4M
67 188M 67 126M 0 0 29.2M 0 0:00:06 0:00:04 0:00:02 29.2M
87 188M 87 164M 0 0 30.6M 0 0:00:06 0:00:05 0:00:01 32.8M
100 188M 100 188M 0 0 30.8M 0 0:00:06 0:00:06 --:--:-- 37.2M
Building flutter tool...
Resolving dependencies...
Downloading packages...
Got dependencies.
Upgrading engine...
Downloading android-arm-profile/linux-x64 tools... 413ms
Downloading android-arm-release/linux-x64 tools... 212ms
Downloading android-arm64-profile/linux-x64 tools... 222ms
Downloading android-arm64-release/linux-x64 tools... 215ms
Downloading android-x64-profile/linux-x64 tools... 213ms
Downloading android-x64-release/linux-x64 tools... 205ms
Downloading android-x86 tools... 3.6s
Downloading android-x64 tools... 3.1s
Downloading android-arm tools... 3.7s
Downloading android-arm-profile tools... 2,092ms
Downloading android-arm-release tools... 1,896ms
Downloading android-arm64 tools... 5.3s
Downloading android-arm64-profile tools... 1,657ms
Downloading android-arm64-release tools... 2,152ms
Downloading android-x64-profile tools... 2,146ms
Downloading android-x64-release tools... 2,029ms
Downloading Web SDK... 1,196ms
Downloading package sky_engine... 59ms
Downloading package flutter_gpu... 24ms
Downloading flutter_patched_sdk tools... 121ms
Downloading flutter_patched_sdk_product tools... 124ms
Downloading linux-x64 tools... 1,159ms
Downloading linux-x64-debug/linux-x64-flutter-gtk tools... 1,379ms
Downloading linux-x64-profile/linux-x64-flutter-gtk tools... 859ms
Downloading linux-x64-release/linux-x64-flutter-gtk tools... 900ms
Downloading linux-x64/font-subset tools... 201ms
Flutter 3.32.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision be698c48a6 (4 days ago) • 2025-05-19 12:59:14 -0700
Engine • revision 1881800949 (4 days ago) • 2025-05-19 10:54:07 -0700
Tools • Dart 3.8.0 • DevTools 2.45.1
Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel stable, 3.32.0, on Arch Linux 6.14.6-arch1-1, locale en_US.UTF-8)
! Warning: `flutter` on your path resolves to /opt/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /home/umnik/Downloads/flutter. Consider adding /home/umnik/Downloads/flutter/bin to the front of your path.
! Warning: `dart` on your path resolves to /opt/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /home/umnik/Downloads/flutter. Consider adding /home/umnik/Downloads/flutter/bin to the front of your path.
[✓] Android toolchain - develop for Android devices (Android SDK version 36.0.0)
[✗] 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 (the doctor check crashed)
✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
✗ Exception: Linux toolchain - develop for Linux desktop exceeded maximum allowed duration of 0:04:30.000000
[✓] Android Studio (version 2024.3.2)
[✓] Connected device (1 available)
[✓] Network resources
! Doctor found issues in 3 categories.
Expected results
doctor works
Actual results
[☠] Linux toolchain - develop for Linux desktop (the doctor check crashed)
✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
✗ Exception: Linux toolchain - develop for Linux desktop exceeded maximum allowed duration of 0:04:30.000000
Code sample
flutter doctor -v
Screenshots or Video
No response
Logs
No response
Flutter Doctor output
above