-
Notifications
You must be signed in to change notification settings - Fork 28.6k
Flutter Doctor warns about different paths after upgrading from beta 3.5 to beta 3.6 #115651
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@RoarGronmo Thanks for filing the issue. This issue is reproducible on the latest flutter doctor -v (stable, beta, master)[✓] Flutter (Channel stable, 3.3.8, on macOS 13.0 22A380 darwin-x64, locale en-VN)
• Flutter version 3.3.8 on channel stable at /Users/huynq/Documents/GitHub/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 52b3dc25f6 (23 hours ago), 2022-11-09 12:09:26 +0800
• Engine revision 857bd6b74c
• Dart version 2.18.4
• DevTools version 2.15.0
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at /Users/huynq/Library/Android/sdk
• Platform android-33, build-tools 31.0.0
• ANDROID_HOME = /Users/huynq/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14A400
• CocoaPods version 1.11.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.3)
• 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 11.0.13+0-b1751.21-8125866)
[✓] IntelliJ IDEA Community Edition (version 2022.2.2)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 70.0.5
• Dart plugin version 222.4167.21
[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
• IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
• 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
[✓] VS Code (version 1.73.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.52.0
[✓] Connected device (3 available)
• iPhone 14 Pro Max (mobile) • 332079AF-E895-4685-910E-7B1E18B0C6B8 • ios • com.apple.CoreSimulator.SimRuntime.iOS-16-0 (simulator)
• macOS (desktop) • macos • darwin-x64 • macOS 13.0 22A380 darwin-x64
• Chrome (web) • chrome • web-javascript • Google Chrome 107.0.5304.110
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!
[!] Flutter (Channel master, 3.6.0-6.0.pre.29, on macOS 13.0 22A380 darwin-x64, locale en-VN)
• Flutter version 3.6.0-6.0.pre.29 on channel master at /Users/huynq/Documents/GitHub/flutter_master
! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ee9bc784b5 (2 hours ago), 2022-11-20 19:32:24 -0500
• Engine revision 271461837e
• Dart version 2.19.0 (build 2.19.0-406.0.dev)
• DevTools version 2.19.0
• 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 31.0.0)
• Android SDK at /Users/huynq/Library/Android/sdk
• Platform android-33, build-tools 31.0.0
• ANDROID_HOME = /Users/huynq/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14A400
• CocoaPods version 1.11.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.3)
• 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 11.0.13+0-b1751.21-8125866)
[✓] IntelliJ IDEA Community Edition (version 2022.2.2)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 70.0.5
• Dart plugin version 222.4167.21
[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
• IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
• 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
[✓] VS Code (version 1.73.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.52.0
[✓] Connected device (3 available)
• SM T225 (mobile) • R9JT3004VRJ • android-arm64 • Android 12 (API 31)
• macOS (desktop) • macos • darwin-x64 • macOS 13.0 22A380 darwin-x64
• Chrome (web) • chrome • web-javascript • Google Chrome 107.0.5304.110
[✓] HTTP Host Availability
• All required HTTP hosts are available
! Doctor found issues in 1 category.
[!] Flutter (Channel beta, 3.6.0-0.1.pre, on macOS 13.0 22A380 darwin-x64, locale en-VN)
• Flutter version 3.6.0-0.1.pre on channel beta at
/Users/huynq/Documents/GitHub/flutter_beta
! Warning: `flutter` on your path resolves to
/Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current
Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_beta. Consider adding
/Users/huynq/Documents/GitHub/flutter_beta/bin to the front of your path.
! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart,
which is not inside your current Flutter SDK checkout at
/Users/huynq/Documents/GitHub/flutter_beta. Consider adding
/Users/huynq/Documents/GitHub/flutter_beta/bin to the front of your path.
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 75927305ff (4 days ago), 2022-11-17 05:52:50 +0530
• Engine revision b754eabc98
• Dart version 2.19.0 (build 2.19.0-374.1.beta)
• DevTools version 2.19.0
• 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 31.0.0)
• Android SDK at /Users/huynq/Library/Android/sdk
• Platform android-33, build-tools 31.0.0
• ANDROID_HOME = /Users/huynq/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14A400
• CocoaPods version 1.11.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.3)
• 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 11.0.13+0-b1751.21-8125866)
[✓] IntelliJ IDEA Community Edition (version 2022.2.2)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 70.0.5
• Dart plugin version 222.4167.21
[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
• IntelliJ at /Users/huynq/Library/Application
Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
• 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
[✓] VS Code (version 1.73.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.52.0
[✓] Connected device (5 available)
• SM T225 (mobile) • R9JT3004VRJ • android-arm64 • Android 12
(API 31)
• iPhone (mobile) • d9a94afe2b649fef56ba0bfeb052f0f2a7dae95e • ios • iOS 15.7
19H12
• iPhone 14 Pro Max (mobile) • 332079AF-E895-4685-910E-7B1E18B0C6B8 • ios •
com.apple.CoreSimulator.SimRuntime.iOS-16-0 (simulator)
• macOS (desktop) • macos • darwin-x64 • macOS 13.0
22A380 darwin-x64
• Chrome (web) • chrome • web-javascript • Google
Chrome 107.0.5304.110
! Error: iPhone is busy: Fetching debug symbols for iPhone. Xcode will continue when iPhone is
finished. (code -10)
[✓] HTTP Host Availability
• All required HTTP hosts are available
! Doctor found issues in 1 category. |
@RoarGronmo thanks for filing this, I introduced this bug. BTW, you can safely ignore these warning, the bug here is that I am case sensitively comparing the strings, which I shouldn't do on Windows. |
Btw, this is not a reproduction--this is the validator correctly informing you that the Flutter binary that you are invoking is coming from a different version of the repo than the one on your path. This bug is tracking the case where the correct binary is on your path, but the validator thinks they're different paths because the case is different. Windows' file system is case insensitive, whereas on macOS and linux they are case sensitive. |
@christopherfujino @huycozy My warning I get
added to .zshrc, but didn't fixed
Dart SDK Path in Android Studio
|
This issue is back when you update to the current version :D @christopherfujino |
Which version is the "current version"? |
The version released today, I think it was 3.7 [!] Flutter (Channel stable, 3.7.0, on macOS 13.0 22A380 darwin-x64, locale en-DE) |
Ahh, thanks for this, re-opening |
Same here Flutter 3.7.0 • channel stable • https://github.com/flutter/flutter.git Running flutter doctor... ! Doctor found issues in 1 category. |
@matiasdilettasolutions That is not the same, if you check the paths here the doctor warning is correct. |
|
Per the doctor message:
|
@christopherfujino thank you! It's working now. |
EDIT Solution: Type in
Also facing the same error message since upgrade to 3.7 Doctor summary (to see all details, run flutter doctor -v):
I already have in
|
i have same proplem in 3.7 version what is the solution |
I added
|
Note that on macOS, |
[!] Flutter (Channel stable, 3.7.0, on macOS 13.1 22C65 darwin-arm64, locale Please Any help ?? |
I have the same warning. but My problem was about a Capital F when adding to the path. |
This is a good question I don't know the answer to. However, your PATH is not exclusively what is set in that dialog, runtime processes can also append to it. If you type the following into powershell, it will tell you what your current
|
Hi I sloved this issue by adding path in sudo nano $HOME/.zshrc and adding PATH="$PATH:/users/vinayshukla/development/flutter/bin" And also I exported the path variable using this command export PATH="$PATH:/users/vinayshukla/development/flutter/bin" Acctually in my warning message one was path was showing Users and in another it was users, someone said above that in mac it is case sensitive, so i added same path in both and it works, now when i run echo path command, it shows two lines of flutter path back to back, and flutter doctor was resolved without any error. |
in .bash_profile detele ----> eval "$(/opt/homebrew/bin/brew shellenv)". |
Add the following line at the end of the file: export PATH="$HOME/flutter/bin:$PATH" source ~/.zshrc close the terminal and reopen it flutter doctor • No issues found! |
Any solution for this problem on windows? I'm using windows 10, here the same problem is happening! |
Add the path you installed Flutter to your path, per: https://docs.flutter.dev/get-started/install/windows#update-your-path |
(For Windows 10) Check there isn't an empty file called |
By default chocolatey installed dart-sdk and flutter in the same tools folder for me. I just simply moved the dart-sdk folder outside the tools folder, updated environment variable path for dart; ran flutter doctor again and the warning disappeared. |
Adding this to my Path worked: Remember to reload your shell config |
This issue is assigned to @christopherfujino but has had no recent status updates. Please consider unassigning this issue if it is not going to be addressed in the near future. This allows people to have a clearer picture of what work is actually planned. Thanks! |
Well yeah this is kind of driving me crazy! /Users/akhudairy % echo $path /Users/akhudairy % flutter doctor |
This issue was assigned to @christopherfujino but has had no status updates in a long time. To remove any ambiguity about whether the issue is being worked on, the assignee was removed. |
(Win11) |
Thank you you this solved my problem |
Uh oh!
There was an error while loading. Please reload this page.
Edit by @christopherfujino
Please read #115651 (comment) before commenting further.
Following situation (see picture below):

Trying to follow suggestions, but this doesn't sort out.
BTW: Application seems to compile & run fine on both android & web. Have not tested iOS yet.
Full
flutter doctor -v
below:Suspects the letter capitalization of drive to be the culprit: 'C:' vs 'c:'
The text was updated successfully, but these errors were encountered: