Repository navigation
Closed as not planned
Closed as not planned
Copy link
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listfound in release: 3.6Found to occur in 3.6Found to occur in 3.6has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work ont: 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.triaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team
Description
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:
PS C:\FlutterProjects\mwork> flutter doctor -v
[!] Flutter (Channel beta, 3.6.0-0.1.pre, on Microsoft Windows [Version 10.0.22621.819], locale nb-NO)
• Flutter version 3.6.0-0.1.pre on channel beta at c:\Flutter\flutter
! Warning: `flutter` on your path resolves to C:\Flutter\flutter\bin\flutter, which is not inside your current Flutter SDK checkout at c:\Flutter\flutter. Consider adding c:\Flutter\flutter\bin to the front of your path.
! Warning: `dart` on your path resolves to C:\Flutter\flutter\bin\dart, which is not inside your current Flutter SDK checkout at c:\Flutter\flutter. Consider adding c:\Flutter\flutter\bin to the front of your path.
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 75927305ff (2 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.
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
• Android SDK at C:\Users\RoarGronmo\AppData\Local\Android\sdk
• Platform android-TiramisuPrivacySandbox, build-tools 33.0.0
• Java binary at: C:\Program Files\Android Studio\Android Studio 2021.3.1.17\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.3)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
• Visual Studio Community 2019 version 16.11.31702.278
• Windows 10 SDK version 10.0.19041.0
[√] Android Studio (version 2020.3)
• Android Studio at C:\Program Files\Android Studio\Android Studio 2020.3.1.26
• 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.10+0-b96-7249189)
[√] Android Studio (version 2021.1)
• Android Studio at C:\Program Files\Android Studio\Android Studio 2021.1.1.23
• 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.11+9-b60-7590822)
[√] Android Studio (version 2021.2)
• Android Studio at C:\Program Files\Android Studio\Android Studio 2021.2.1.16
• 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.12+7-b1504.28-7817840)
[√] Android Studio (version 2021.3)
• Android Studio at C:\Program Files\Android Studio\Android Studio 2021.3.1.17
• 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)
[√] Android Studio (version 2021.2)
• Android Studio at C:\Program Files\Android Studio\Android Studio 2021.2.1.11
• 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.12+7-b1504.28-7817840)
[√] Android Studio (version 2021.3)
• Android Studio at C:\Program Files\Android Studio\Android Studio 2021.3.1.10
• 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)
[!] Android Studio (version 2022.1)
• Android Studio at C:\Program Files\Android Studio\Android Studio 2022.1.1.13
• 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
X Unable to find bundled Java version.
• Try updating or re-installing Android Studio.
[!] Android Studio (version 2022.2)
• Android Studio at C:\Program Files\Android Studio\Android Studio 2022.2.1.8
• 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
X Unable to find bundled Java version.
• Try updating or re-installing Android Studio.
[√] Connected device (4 available)
• sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64 • Android 13 (API 33) (emulator)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22621.819]
• Chrome (web) • chrome • web-javascript • Google Chrome 107.0.5304.107
• Edge (web) • edge • web-javascript • Microsoft Edge 107.0.1418.42
[√] HTTP Host Availability
• All required HTTP hosts are available
! Doctor found issues in 3 categories.
Suspects the letter capitalization of drive to be the culprit: 'C:' vs 'c:'
Reacted by Francesco Iapicca, Hudson Afonso, PriyankaZimo, #Steven, Oluwatosin Ishmeal, Emre Yetişkin, Eli, Fernando de Oliveira Santos, M Atheer and Felipe Morschel
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listfound in release: 3.6Found to occur in 3.6Found to occur in 3.6has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work ont: 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.triaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team
Activity
huycozy commentedon Nov 21, 2022
@RoarGronmo Thanks for filing the issue. This issue is reproducible on the latest
betaandmasterchannels.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!christopherfujino commentedon Nov 22, 2022
@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.
christopherfujino commentedon Nov 23, 2022
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.
TheGlorySaint commentedon Jan 5, 2023
@christopherfujino @huycozy
Today, I switched to the latest Flutter master channel from the latest stable channel. After upgrading, I got the warning on my MacBook 16" 2021 M1 Pro, that the 'dart' path resolves to a path, that is not inside my current Flutter SDK Path. I installed Flutter through homebrew. I added the export path below to my .zshrc file, reloaded the terminal and run
flutter doctor -vbut it didn't fix the issue. I also checked Android Studio for the Dart and Flutter SDK Path, both have the same path as i have posted below. After a search, I only found this post.My warning I get
added to .zshrc, but didn't fixed
Dart SDK Path in Android Studio
Sesa1988 commentedon Jan 24, 2023
This issue is back when you update to the current version :D @christopherfujino
christopherfujino commentedon Jan 24, 2023
Which version is the "current version"?
54 remaining items
DigitalArtis4n commentedon Sep 20, 2023
Adding this to my Path worked:
export PATH="/Users/schaeffer/flutter/bin:$PATH"Remember to reload your shell config
source ~/.zshrcbefore you test withflutter doctorflutter-triage-bot commentedon Nov 27, 2023
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!
akhudairy commentedon Jan 28, 2024
Well yeah this is kind of driving me crazy!
/Users/akhudairy % echo $path
/users/akhudairy/dev/flutter/bin /opt/homebrew/lib/ruby/gems/3.2.0/bin /o.......
/Users/akhudairy % flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel stable, 3.16.2, on macOS 14.3 23D56 darwin-arm64, locale
en-JO)
! Warning:
flutteron your path resolves to/Users/akhudairy/dev/flutter/bin/flutter, which is not inside your current
Flutter SDK checkout at /users/akhudairy/dev/flutter. Consider adding
/users/akhudairy/dev/flutter/bin to the front of your path.
! Warning:
darton your path resolves to/Users/akhudairy/dev/flutter/bin/dart, which is not inside your current
Flutter SDK checkout at /users/akhudairy/dev/flutter. Consider adding
/users/akhudairy/dev/flutter/bin to the front of your path.
flutter-triage-bot commentedon Feb 10, 2024
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.
taikute commentedon Apr 18, 2024
(Win11)
I check on C:\Users\username
I see a file (not folder) name flutter and i delete it, problem solved!
kekude commentedon Jul 24, 2024
Thank you you this solved my problem
darton your path resolves to... #164648 as a duplicate of this issuegithub-actions commentedon Jul 25, 2025
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.