Skip to content
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

[FIXED IN MASTER CHANNEL] flutter doctor - [X] Windows Version (Unable to confirm if installed Windows version is 10 or greater) #117890

Closed
fabmatz opened this issue Jan 3, 2023 · 63 comments · Fixed by #119304
Assignees
Labels
platform-windows Building on or for Windows specifically r: fixed Issue is closed as already fixed in a newer version t: flutter doctor Problem related to the "flutter doctor" tool tool Affects the "flutter" command-line tool. See also t: labels.

Comments

@fabmatz
Copy link

fabmatz commented Jan 3, 2023

I'm working with Flutter on the channel: master

flutter --version
Flutter 3.7.0-13.0.pre.138 • channel master • https://github.com/flutter/flutter.git
Framework • revision b938dc13df (21 hours ago) • 2023-01-02 05:47:23 -0500
Engine • revision 472e34cbbc
Tools • Dart 3.0.0 (build 3.0.0-76.0.dev) • DevTools 2.20.0

and running flutter doctor shows me that it can't confirm if my Windows Version is 10 or greater:

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel master, 3.7.0-13.0.pre.138, on Microsoft Windows [Version 10.0.19044.2364], locale de-DE)
[X] Windows Version (Unable to confirm if installed Windows version is 10 or greater)
[√] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.3.6)
[√] Android Studio (version 2021.2)
[√] VS Code (version 1.71.2)
[√] Connected device (3 available)
[√] HTTP Host Availability

! Doctor found issues in 1 category.

I have installed Windows 10 Pro Version 21H2.

@fabmatz fabmatz added the team-infra Owned by Infrastructure team label Jan 3, 2023
@danagbemava-nc danagbemava-nc removed the team-infra Owned by Infrastructure team label Jan 3, 2023
@exaby73 exaby73 added the in triage Presently being triaged by the triage team label Jan 3, 2023
@exaby73
Copy link
Member

exaby73 commented Jan 3, 2023

Hello @fabmatz. Can you provide the logs of flutter doctor -v

@exaby73 exaby73 added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jan 3, 2023
@fabmatz
Copy link
Author

fabmatz commented Jan 3, 2023

flutter doctor -v
[√] Flutter (Channel master, 3.7.0-13.0.pre.138, on Microsoft Windows [Version 10.0.19044.2364], locale de-DE)
    • Flutter version 3.7.0-13.0.pre.138 on channel master at C:\Users\xxx\Flutter\flutter_windows_2.2.3-stable\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b938dc13df (22 hours ago), 2023-01-02 05:47:23 -0500
    • Engine revision 472e34cbbc
    • Dart version 3.0.0 (build 3.0.0-76.0.dev)
    • DevTools version 2.20.0

[X] Windows Version (Unable to confirm if installed Windows version is 10 or greater)

[√] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at C:\Users\xxx\AppData\Local\Android\sdk
    • Platform android-33, build-tools 32.1.0-rc1
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
    • 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 2022 17.3.6)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.3.32929.385
    • Windows 10 SDK version 10.0.20348.0

[√] Android Studio (version 2021.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • 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)

[√] VS Code (version 1.71.2)
    • VS Code at C:\Users\xxx\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension can be installed from:
       https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19044.2364]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 108.0.5359.125
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 107.0.1418.52

[√] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

@github-actions github-actions bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jan 3, 2023
@exaby73
Copy link
Member

exaby73 commented Jan 3, 2023

Thank you. Could you also provide the logs to flutter doctor -vv?

@exaby73 exaby73 added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jan 3, 2023
@fabmatz
Copy link
Author

fabmatz commented Jan 3, 2023

flutter doctor -vv
[  +10 ms] executing: [C:\Users\xxx\Flutter\flutter_windows_2.2.3-stable\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +53 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] b938dc13df32cd510844863a66856dd240dc3302
[        ] executing: [C:\Users\xxx\Flutter\flutter_windows_2.2.3-stable\flutter/] git tag --points-at b938dc13df32cd510844863a66856dd240dc3302
[  +82 ms] Exit code 0 from: git tag --points-at b938dc13df32cd510844863a66856dd240dc3302
[   +1 ms] executing: [C:\Users\xxx\Flutter\flutter_windows_2.2.3-stable\flutter/] git describe --match *.*.* --long --tags b938dc13df32cd510844863a66856dd240dc3302
[ +119 ms] Exit code 0 from: git describe --match *.*.* --long --tags b938dc13df32cd510844863a66856dd240dc3302
[   +1 ms] 3.7.0-12.0.pre-138-gb938dc13df
[  +11 ms] executing: [C:\Users\xxx\Flutter\flutter_windows_2.2.3-stable\flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[  +46 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[        ] origin/master
[        ] executing: [C:\Users\xxx\Flutter\flutter_windows_2.2.3-stable\flutter/] git ls-remote --get-url origin
[  +38 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +60 ms] executing: [C:\Users\xxx\Flutter\flutter_windows_2.2.3-stable\flutter/] git rev-parse --abbrev-ref HEAD
[  +42 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[  +41 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +41 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[  +53 ms] executing: [C:\Users\xxx\Flutter\flutter_windows_2.2.3-stable\flutter/] git rev-parse --abbrev-ref HEAD
[  +48 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[        ] executing: [C:\Users\xxx\Flutter\flutter_windows_2.2.3-stable\flutter/] git fetch https://github.com/flutter/flutter.git --tags -f
[+2199 ms] Exit code 0 from: git fetch https://github.com/flutter/flutter.git --tags -f
[        ] From https://github.com/flutter/flutter
            * branch                  HEAD       -> FETCH_HEAD
[        ] executing: [C:\Users\xxx\Flutter\flutter_windows_2.2.3-stable\flutter/] git tag --points-at HEAD
[  +76 ms] Exit code 0 from: git tag --points-at HEAD
[        ] executing: [C:\Users\xxx\Flutter\flutter_windows_2.2.3-stable\flutter/] git describe --match *.*.* --long --tags HEAD
[ +113 ms] Exit code 0 from: git describe --match *.*.* --long --tags HEAD
[        ] 3.7.0-12.0.pre-138-gb938dc13df
[   +3 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +162 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[   +1 ms] openjdk version "11.0.12" 2021-07-20
           OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
           OpenJDK 64-Bit Server VM (build 11.0.12+7-b1504.28-7817840, mixed mode)
[   +9 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +156 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[   +2 ms] openjdk version "11.0.12" 2021-07-20
           OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
           OpenJDK 64-Bit Server VM (build 11.0.12+7-b1504.28-7817840, mixed mode)
[   +1 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +148 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[   +1 ms] openjdk version "11.0.12" 2021-07-20
           OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
           OpenJDK 64-Bit Server VM (build 11.0.12+7-b1504.28-7817840, mixed mode)
[ +205 ms] executing: [C:\Users\xxx\Flutter\flutter_windows_2.2.3-stable\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%ar
[  +53 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%ar
[        ] 23 hours ago
[  +66 ms] java -version
[   +6 ms] executing: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -format json -products * -utf8 -latest -version 16 -requires Microsoft.VisualStudio.Workload.NativeDesktop
Microsoft.VisualStudio.Component.VC.Tools.x86.x64 Microsoft.VisualStudio.Component.VC.CMake.Project
[  +48 ms] Exit code 0 from: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -format json -products * -utf8 -latest -version 16 -requires Microsoft.VisualStudio.Workload.NativeDesktop
Microsoft.VisualStudio.Component.VC.Tools.x86.x64 Microsoft.VisualStudio.Component.VC.CMake.Project
[   +1 ms] [
             {
               "instanceId": "c2bb64cb",
               "installDate": "2022-10-13T09:24:18Z",
               "installationName": "VisualStudio/17.3.6+32929.385",
               "installationPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community",
               "installationVersion": "17.3.32929.385",
               "productId": "Microsoft.VisualStudio.Product.Community",
               "productPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\Common7\\IDE\\devenv.exe",
               "state": 4294967295,
               "isComplete": true,
               "isLaunchable": true,
               "isPrerelease": false,
               "isRebootRequired": false,
               "displayName": "Visual Studio Community 2022",
               "description": "Leistungsstarke IDE, kostenlos für Studenten, Open-Source-Mitwirkende und Einzelpersonen",
               "channelId": "VisualStudio.17.Release",
               "channelUri": "https://aka.ms/vs/17/release/channel",
               "enginePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service",
               "installedChannelId": "VisualStudio.17.Release",
               "installedChannelUri": "https://aka.ms/vs/17/release/channel",
               "releaseNotes": "https://docs.microsoft.com/en-us/visualstudio/releases/2022/release-notes-v17.3#17.3.6",
               "thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=661288",
               "updateDate": "2022-10-13T09:24:18.622607Z",
               "catalog": {
                 "buildBranch": "d17.3",
                 "buildVersion": "17.3.32929.385",
                 "id": "VisualStudio/17.3.6+32929.385",
                 "localBuild": "build-lab",
                 "manifestName": "VisualStudio",
                 "manifestType": "installer",
                 "productDisplayVersion": "17.3.6",
                 "productLine": "Dev17",
                 "productLineVersion": "2022",
                 "productMilestone": "RTW",
                 "productMilestoneIsPreRelease": "False",
                 "productName": "Visual Studio",
                 "productPatchVersion": "6",
                 "productPreReleaseMilestoneSuffix": "1.0",
                 "productSemanticVersion": "17.3.6+32929.385",
                 "requiredEngineVersion": "3.3.2185.63263"
               },
               "properties": {
                 "campaignId": "2030:902ab054538540d0833d9750f30424c7",
                 "channelManifestId": "VisualStudio.17.Release/17.3.6+32929.385",
                 "nickname": "",
                 "setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\setup.exe"
               }
             }
           ]
[   +2 ms] executing: reg query HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v10.0 /v InstallationFolder
[  +29 ms] Exit code 0 from: reg query HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v10.0 /v InstallationFolder
[        ] HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v10.0
               InstallationFolder    REG_SZ    C:\Program Files (x86)\Windows Kits\10\
[   +6 ms] executing: C:\Users\xxx\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +21 ms] [√] Flutter (Channel master, 3.7.0-13.0.pre.138, on Microsoft Windows [Version 10.0.19044.2364], locale de-DE)
[   +1 ms]     • Flutter version 3.7.0-13.0.pre.138 on channel master at C:\Users\xxx\Flutter\flutter_windows_2.2.3-stable\flutter
[        ]     • Upstream repository https://github.com/flutter/flutter.git
[   +1 ms]     • Framework revision b938dc13df (23 hours ago), 2023-01-02 05:47:23 -0500
[        ]     • Engine revision 472e34cbbc
[        ]     • Dart version 3.0.0 (build 3.0.0-76.0.dev)
[        ]     • DevTools version 2.20.0
[  +80 ms] List of devices attached
[  +52 ms] executing: C:\Users\xxx\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +82 ms] List of devices attached
[+1769 ms] [X] Windows Version (Unable to confirm if installed Windows version is 10 or greater)
[ +532 ms] [√] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[        ]     • Android SDK at C:\Users\xxx\AppData\Local\Android\sdk
[        ]     • Platform android-33, build-tools 32.1.0-rc1
[        ]     • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
[        ]     • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
[        ]     • All Android licenses accepted.
[   +1 ms] [√] Chrome - develop for the web
[        ]     • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[   +1 ms] [√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.3.6)
[        ]     • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
[        ]     • Visual Studio Community 2022 version 17.3.32929.385
[        ]     • Windows 10 SDK version 10.0.20348.0
[   +1 ms] [√] Android Studio (version 2021.2)
[        ]     • Android Studio at C:\Program Files\Android\Android Studio
[        ]     • 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)
[   +1 ms] [√] VS Code (version 1.71.2)
[        ]     • VS Code at C:\Users\xxx\AppData\Local\Programs\Microsoft VS Code
[   +1 ms]     • Flutter extension can be installed from:
[        ]        https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[   +1 ms] [√] Connected device (3 available)
[        ]     • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19044.2364]
[        ]     • Chrome (web)      • chrome  • web-javascript • Google Chrome 108.0.5359.125
[        ]     • Edge (web)        • edge    • web-javascript • Microsoft Edge 107.0.1418.52
[   +1 ms] [√] HTTP Host Availability
[        ]     • All required HTTP hosts are available
[        ] ! Doctor found issues in 1 category.
[   +6 ms] "flutter doctor" took 6.104ms.
[ +255 ms] ensureAnalyticsSent: 253ms
[   +6 ms] Running 0 shutdown hooks
[   +2 ms] Shutdown hooks complete
[   +1 ms] exiting with code 0

@github-actions github-actions bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jan 3, 2023
@exaby73
Copy link
Member

exaby73 commented Jan 3, 2023

Labeling for further insights from the team as I cannot reproduce this issue

@exaby73 exaby73 added tool Affects the "flutter" command-line tool. See also t: labels. platform-windows Building on or for Windows specifically t: flutter doctor Problem related to the "flutter doctor" tool and removed in triage Presently being triaged by the triage team labels Jan 3, 2023
@HegeKen
Copy link

HegeKen commented Jan 17, 2023

Same Here, have you figured it out?

@fabmatz
Copy link
Author

fabmatz commented Jan 17, 2023

Nop, but it also works with this issue.

@HegeKen
Copy link

HegeKen commented Jan 18, 2023

Nop, but it also works with this issue.

I updated flutter to the master channel from beta , and it solved it.

@antonpichka
Copy link

Similar error. I am using flutter stable version 3.7.0 and Dart 2.19.0:

flutter doctor -v

[√] Flutter (Channel stable, 3.7.0, on Microsoft Windows [Version 10.0.19044.1288], locale ru-RU)
• Flutter version 3.7.0 on channel stable at C:\Developer\Flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision b06b8b2 (2 days ago), 2023-01-23 16:55:55 -0800
• Engine revision b24591ed32
• Dart version 2.19.0
• DevTools version 2.20.1

[X] Windows Version (Unable to confirm if installed Windows version is 10 or greater)

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
• Android SDK at C:\Developer\Android\SDK
• Platform android-33-ext4, build-tools 33.0.1
• Java binary at: C:\Developer\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
• 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 2022 17.4.4)
• Visual Studio at C:\Developer\VisualStudio
• Visual Studio Community 2022 version 17.4.33213.308
• Windows 10 SDK version 10.0.22000.0

[√] Android Studio (version 2022.1)
• Android Studio at C:\Developer\Android\Android Studio
• 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.15+0-b2043.56-8887301)

[√] Connected device (3 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19044.1288]
• Chrome (web) • chrome • web-javascript • Google Chrome 109.0.5414.75
• Edge (web) • edge • web-javascript • Microsoft Edge 103.0.1264.49

[√] HTTP Host Availability
• All required HTTP hosts are available

! Doctor found issues in 1 category.

flutter doctor -vv

[ +29 ms] executing: [C:\Developer\Flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +65 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] b06b8b2
[ ] executing: [C:\Developer\Flutter/] git tag --points-at b06b8b2
[ +67 ms] Exit code 0 from: git tag --points-at b06b8b2
[ ] 3.7.0
[ +17 ms] executing: [C:\Developer\Flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[ +54 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[ ] origin/stable
[ +1 ms] executing: [C:\Developer\Flutter/] git ls-remote --get-url origin
[ +52 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ +68 ms] executing: [C:\Developer\Flutter/] git rev-parse --abbrev-ref HEAD
[ +61 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ +1 ms] stable
[ +57 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ +2 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ +1 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ +1 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +68 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[ +1 ms] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[ +2 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ +1 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[ +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ +1 ms] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ +3 ms] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ +1 ms] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[ +27 ms] executing: [C:\Developer\Flutter/] git rev-parse --abbrev-ref HEAD
[ +51 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ +1 ms] stable
[ +2 ms] Skipping request to fetchTags - on well known channel stable.
[ +1 ms] executing: [C:\Developer\Flutter/] git tag --points-at HEAD
[ +74 ms] Exit code 0 from: git tag --points-at HEAD
[ +1 ms] 3.7.0
[ +12 ms] executing: C:\Developer\Android\Android Studio\jre\bin\java -version
[ +163 ms] Exit code 0 from: C:\Developer\Android\Android Studio\jre\bin\java -version
[ +2 ms] openjdk version "11.0.15" 2022-04-19
OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
OpenJDK 64-Bit Server VM (build 11.0.15+0-b2043.56-8887301, mixed mode)
[ +11 ms] executing: C:\Developer\Android\Android Studio\jre\bin\java -version
[ +143 ms] Exit code 0 from: C:\Developer\Android\Android Studio\jre\bin\java -version
[ +1 ms] openjdk version "11.0.15" 2022-04-19
OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
OpenJDK 64-Bit Server VM (build 11.0.15+0-b2043.56-8887301, mixed mode)
[ +226 ms] executing: [C:\Developer\Flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%ar
[ +57 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%ar
[ +1 ms] 2 days ago
[ +74 ms] java -version
[ +10 ms] executing: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -format json -products *
-utf8 -latest -version 16 -requires Microsoft.VisualStudio.Workload.NativeDesktop
Microsoft.VisualStudio.Component.VC.Tools.x86.x64 Microsoft.VisualStudio.Component.VC.CMake.Project
[ +56 ms] Exit code 0 from: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -format json -products

  • -utf8 -latest -version 16 -requires Microsoft.VisualStudio.Workload.NativeDesktop
    Microsoft.VisualStudio.Component.VC.Tools.x86.x64 Microsoft.VisualStudio.Component.VC.CMake.Project
    [ +2 ms] [
    {
    "instanceId": "e5112eba",
    "installDate": "2023-01-25T13:36:32Z",
    "installationName": "VisualStudio/17.4.4+33213.308",
    "installationPath": "C:\Developer\VisualStudio",
    "installationVersion": "17.4.33213.308",
    "productId": "Microsoft.VisualStudio.Product.Community",
    "productPath": "C:\Developer\VisualStudio\Common7\IDE\devenv.exe",
    "state": 4294967295,
    "isComplete": true,
    "isLaunchable": true,
    "isPrerelease": false,
    "isRebootRequired": false,
    "displayName": "Visual Studio Community 2022",
    "description": "Мощная интегрированная среда разработки, бесплатная для студентов, участников проектов с
    открытым кодом и отдельных пользователей.",
    "channelId": "VisualStudio.17.Release",
    "channelUri": "https://aka.ms/vs/17/release/channel",
    "enginePath": "C:\Program Files (x86)\Microsoft Visual
    Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service",
    "installedChannelId": "VisualStudio.17.Release",
    "installedChannelUri": "https://aka.ms/vs/17/release/channel",
    "releaseNotes": "https://docs.microsoft.com/en-us/visualstudio/releases/2022/release-notes-v17.4#17.4.4",
    "thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=661288",
    "updateDate": "2023-01-25T13:36:32.0495873Z",
    "catalog": {
    "buildBranch": "d17.4",
    "buildVersion": "17.4.33213.308",
    "id": "VisualStudio/17.4.4+33213.308",
    "localBuild": "build-lab",
    "manifestName": "VisualStudio",
    "manifestType": "installer",
    "productDisplayVersion": "17.4.4",
    "productLine": "Dev17",
    "productLineVersion": "2022",
    "productMilestone": "RTW",
    "productMilestoneIsPreRelease": "False",
    "productName": "Visual Studio",
    "productPatchVersion": "4",
    "productPreReleaseMilestoneSuffix": "1.0",
    "productSemanticVersion": "17.4.4+33213.308",
    "requiredEngineVersion": "3.4.2246.31370"
    },
    "properties": {
    "campaignId": "2030:e2c5ab2ba510415f8e1967587cabd41e",
    "canceled": "0",
    "channelManifestId": "VisualStudio.17.Release/17.4.4+33213.308",
    "nickname": "",
    "setupEngineFilePath": "C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe"
    }
    }
    ]
    [ +12 ms] executing: reg query HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v10.0 /v
    InstallationFolder
    [ +30 ms] Exit code 0 from: reg query HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v10.0 /v
    InstallationFolder
    [ +2 ms] HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v10.0
    InstallationFolder REG_SZ C:\Windows Kits\10
    [ +11 ms] executing: C:\Developer\Android\SDK\platform-tools\adb.exe devices -l
    [ +29 ms] [√] Flutter (Channel stable, 3.7.0, on Microsoft Windows [Version 10.0.19044.1288], locale ru-RU)
    [ +4 ms] • Flutter version 3.7.0 on channel stable at C:\Developer\Flutter
    [ +1 ms] • Upstream repository https://github.com/flutter/flutter.git
    [ +1 ms] • Framework revision b06b8b2 (2 days ago), 2023-01-23 16:55:55 -0800
    [ +1 ms] • Engine revision b24591ed32
    [ ] • Dart version 2.19.0
    [ +1 ms] • DevTools version 2.20.1
    [ +173 ms] List of devices attached
    [ +155 ms] executing: C:\Developer\Android\SDK\platform-tools\adb.exe devices -l
    [ +92 ms] List of devices attached
    [+2867 ms] [X] Windows Version (Unable to confirm if installed Windows version is 10 or greater)
    [ +3 ms] [√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    [ ] • Android SDK at C:\Developer\Android\SDK
    [ ] • Platform android-33-ext4, build-tools 33.0.1
    [ ] • Java binary at: C:\Developer\Android\Android Studio\jre\bin\java
    [ ] • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    [ ] • All Android licenses accepted.
    [ +4 ms] [√] Chrome - develop for the web
    [ +1 ms] • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
    [ +4 ms] [√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.4.4)
    [ +1 ms] • Visual Studio at C:\Developer\VisualStudio
    [ ] • Visual Studio Community 2022 version 17.4.33213.308
    [ ] • Windows 10 SDK version 10.0.22000.0
    [ +4 ms] [√] Android Studio (version 2022.1)
    [ +1 ms] • Android Studio at C:\Developer\Android\Android Studio
    [ +2 ms] • Flutter plugin can be installed from:
    [ ] https://plugins.jetbrains.com/plugin/9212-flutter
    [ +1 ms] • Dart plugin can be installed from:
    [ +1 ms] https://plugins.jetbrains.com/plugin/6351-dart
    [ +1 ms] • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    [ +2 ms] [√] Connected device (3 available)
    [ +2 ms] • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19044.1288]
    [ +1 ms] • Chrome (web) • chrome • web-javascript • Google Chrome 109.0.5414.75
    [ +2 ms] • Edge (web) • edge • web-javascript • Microsoft Edge 103.0.1264.49
    [ +2 ms] [√] HTTP Host Availability
    [ ] • All required HTTP hosts are available
    [ ] ! Doctor found issues in 1 category.
    [ +11 ms] "flutter doctor" took 4 589ms.
    [ +167 ms] ensureAnalyticsSent: 162ms
    [ +2 ms] Running 0 shutdown hooks
    [ +2 ms] Shutdown hooks complete
    [ +1 ms] exiting with code 0

@leesanghyun0414
Copy link

Stable channel also have this issue.

In my case, only the master channel does not have issue.

@Francesco-FL
Copy link

Francesco-FL commented Jan 25, 2023

Updated to Flutter 3.7.0, same error:

[√] Flutter (Channel stable, 3.7.0, on Microsoft Windows [Versione 10.0.19045.2486], locale it-IT)
[X] Windows Version (Unable to confirm if installed Windows version is 10 or greater)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.3.3)
[√] Android Studio (version 2022.1)
[√] VS Code (version 1.74.3)
[√] Connected device (4 available)
[√] HTTP Host Availability

@AlejandroGrana
Copy link

AlejandroGrana commented Jan 25, 2023

Hi.
Could be related with the language of the OS?
Same problem here, Spanish.
Maybe a problem with kWindowsOSVersionSemVerPattern in packages/flutter_tools/lib/src/windows/windows_version_validator.dart?

Confirmed. Tested on English, Windows 11 Pro Build 22621, works correctly.

@jsculebras
Copy link

Hi. Could be related with the language of the OS? Same problem here, Spanish. Maybe a problem with kWindowsOSVersionSemVerPattern in packages/flutter_tools/lib/src/windows/windows_version_validator.dart?

Confirmed. Tested on English, Windows 11 Pro Build 22621, works correctly.

I think so too. Regex '^(OS Version:\s*)([0-9]+.[0-9]+.[0-9]+)(.)$' works on English version, but in Spanish it should be '^(Versión del sistema operativo:\s)([0-9]+.[0-9]+.[0-9]+)(.*)$'

@maurovanetti
Copy link

maurovanetti commented Jan 25, 2023

Language dependency confirmed. I'm getting the same issue with the Italian version on Flutter 3.7.0.

@MahomedCissokho
Copy link

Hi ! I encounter this problem. Can someone help me to fix that ?
C:\Users\HP>flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.7.0, on Microsoft Windows [version 10.0.19044.2486], locale fr-FR)
This is taking an unexpectedly long time...[X] Windows Version (Unable to confirm if installed Windows version is 10 or greater)
Checking Android licenses is taking an unexpectedly long time...[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.4.4)
[√] Android Studio (version 2022.1)
[√] VS Code (version 1.74.3)
[√] Connected device (3 available)
[√] HTTP Host Availability

! Doctor found issues in 1 category.

@steniooliv
Copy link

Hi!
I have same problem with brazilian portuguese locale (pt_BR)

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.7.0, on Microsoft Windows [versÆo
    10.0.22621.1105], locale pt-BR)
[✗] Windows Version (Unable to confirm if installed Windows version is 10 or
    greater)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[✓] Chrome - develop for the web
[✗] Visual Studio - develop for Windows
    ✗ Visual Studio not installed; this is necessary for Windows development.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all
      of its default components
[✓] Android Studio (version 2020.3)
[✓] VS Code, 64-bit edition (version 1.74.3)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

! Doctor found issues in 2 categories.

@filly82
Copy link

filly82 commented Jan 26, 2023

same problem here

flutter doctor -v     
[√] Flutter (Channel stable, 3.7.0, on Microsoft Windows [Version 10.0.19045.2486], locale de-DE)
    • Flutter version 3.7.0 on channel stable at C:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b06b8b2710 (2 days ago), 2023-01-23 16:55:55 -0800
    • Engine revision b24591ed32
    • Dart version 2.19.0
    • DevTools version 2.20.1

[X] Windows Version (Unable to confirm if installed Windows version is 10 or greater)

[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at C:\Users\Filly\AppData\Local\Android\Sdk
    • Platform android-33, build-tools 32.0.0
    • ANDROID_HOME = C:\Users\Filly\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.4.4)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.4.33213.308
    • Windows 10 SDK version 10.0.22621.0

[√] Android Studio (version 2022.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • 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.15+0-b2043.56-8887301)

[√] VS Code (version 1.74.3)
    • VS Code at C:\Users\Filly\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.56.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19045.2486]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 108.0.5359.125
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 109.0.1518.61

[√] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

@lopb
Copy link

lopb commented Jan 26, 2023

Same problem here, pt_BR
[+1246 ms] [X] Windows Version (Unable to confirm if installed Windows version is 10 or greater)

@ilmarfreitas
Copy link

Same problem here, pt_BR

[ +4 ms] executing: reg query HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v10.0 /v
InstallationFolder
[ +46 ms] Exit code 0 from: reg query HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v10.0 /vInstallationFolder
[ +1 ms] HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v10.0
InstallationFolder REG_SZ C:\Program Files (x86)\Windows Kits\10
[ +12 ms] executing: D:\Users\Ilmar\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[ +35 ms] [√] Flutter (Channel stable, 3.7.0, on Microsoft Windows [versÆo 10.0.19045.2546], locale pt-BR)
[ +2 ms] • Flutter version 3.7.0 on channel stable at D:\flutter
[ +1 ms] • Upstream repository https://github.com/flutter/flutter.git
[ +1 ms] • Framework revision b06b8b2 (3 days ago), 2023-01-23 16:55:55 -0800
[ +1 ms] • Engine revision b24591ed32
[ ] • Dart version 2.19.0
[ ] • DevTools version 2.20.1
[ +124 ms] List of devices attached
[ +114 ms] executing: D:\Users\Ilmar\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[ +76 ms] List of devices attached
[+2049 ms] [X] Windows Version (Unable to confirm if installed Windows version is 10 or greater)

@lishan-21

This comment was marked as off-topic.

@Augusto-MP

This comment was marked as off-topic.

@Ferdidand79

This comment was marked as off-topic.

@sovetski

This comment was marked as off-topic.

@MichaelSeibig

This comment was marked as off-topic.

@nadveos

This comment was marked as off-topic.

@GearZen

This comment was marked as off-topic.

@nadveos

This comment was marked as off-topic.

@SpecieX

This comment was marked as off-topic.

@OldIngineer

This comment was marked as off-topic.

@iness-mahjoub

This comment was marked as off-topic.

@steniooliv

This comment was marked as off-topic.

@Sogayar

This comment was marked as off-topic.

@Sogayar

This comment was marked as off-topic.

@eliasyishak eliasyishak changed the title flutter doctor - [X] Windows Version (Unable to confirm if installed Windows version is 10 or greater) [FIXED IN MASTER CHANNEL] flutter doctor - [X] Windows Version (Unable to confirm if installed Windows version is 10 or greater) Feb 17, 2023
@iness-mahjoub

This comment was marked as off-topic.

@ryxploit

This comment was marked as off-topic.

@ricardonegrao

This comment was marked as off-topic.

@diyorchikk

This comment was marked as off-topic.

@diyorchikk

This comment was marked as off-topic.

@ricardonegrao

This comment was marked as off-topic.

@TACHERO

This comment was marked as off-topic.

@jamontesg

This comment was marked as off-topic.

@SpecieX

This comment was marked as off-topic.

@exaby73
Copy link
Member

exaby73 commented Mar 6, 2023

Hello everyone. This issue is available on the Master channel of Flutter. Please see https://github.com/flutter/flutter/wiki/Flutter-build-release-channels which explains the timelines for releases. This fix will be included in a future release.

If you want to try the fix today and it is not in stable yet, try running the following commands:

flutter channel master # Switch to the master channel
flutter upgrade # Upgrade to the master version which includes the fix

@brenobarrosdev

This comment was marked as off-topic.

@github-actions
Copy link

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 -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
platform-windows Building on or for Windows specifically r: fixed Issue is closed as already fixed in a newer version t: flutter doctor Problem related to the "flutter doctor" tool tool Affects the "flutter" command-line tool. See also t: labels.
Projects
None yet