Skip to content

Cannot debug in vscode, No Device. flutter run works, flutter devices works #161978

@LucosidE

Description

@LucosidE

Steps to reproduce

Not sure how to reproduce this was not an issue for months of development.

Actual results

I am trying to build and debug a desktop application on Windows

Major  Minor  Build  Revision
-----  -----  -----  --------
10     0      22631  0

I can build and run the application.
flutter run:

Connected devices:
Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22631.4751]
Chrome (web)      • chrome  • web-javascript • Google Chrome 131.0.6778.265
Edge (web)        • edge    • web-javascript • Microsoft Edge 132.0.2957.115
[1]: Windows (windows)
[2]: Chrome (chrome)
[3]: Edge (edge)
Please choose one (or "q" to quit): 1
Launching lib\main.dart on Windows in debug mode...
Building Windows application...                                    15.8s
√ Built build\windows\x64\runner\Debug\foo.exe
Syncing files to device Windows...                                  53ms

Flutter run key commands.
r Hot reload.
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).

A Dart VM Service on Windows is available at: http://127.0.0.1:53151/dkEe3j_ZBhw=/
The Flutter DevTools debugger and profiler on Windows is available at: http://127.0.0.1:9102?uri=http://127.0.0.1:53151/dkEe3j_ZBhw=/

flutter devices

Found 3 connected devices:
  Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22631.4751]
  Chrome (web)      • chrome  • web-javascript • Google Chrome 131.0.6778.265
  Edge (web)        • edge    • web-javascript • Microsoft Edge 132.0.2957.115

Run "flutter emulators" to list and start any available device emulators.

If you expected another device to be detected, please run "flutter doctor" to diagnose potential issues. You may also try increasing the time to wait for connected devices with the    
"--device-timeout" flag. Visit https://flutter.dev/setup/ for troubleshooting tips.

However I cannot debug using VSCODE.
When I try to debug

Select a device to use

pops up but there are no options.

Bottom right corner of VSCODE I see

Plain Text | Cursor Tab | No Device 

It seems tha VSCode does not understand that windows device is working.

I tried a full re-install of VSCode including removing all %appdata% and %userdata% folders
as well as a full re-install of flutter SDK.

Any suggestions are welcome.

Logs

Logs
[  +95 ms] Unable to locate an Android SDK.
[  +21 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.
[        ] Artifact Instance of 'LegacyCanvasKitRemover' 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.
[  +24 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 'LegacyCanvasKitRemover' 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.
[  +43 ms] Recreating project foo...
[  +33 ms]   foo\lib\main.dart (existing - skipped)
[        ]   foo\pubspec.yaml (existing - skipped)
[        ]   foo\README.md (existing - skipped)
[        ]   foo\test\widget_test.dart (existing - skipped)
[        ]   foo\.gitignore (existing - skipped)
[        ]   foo\.idea\libraries\Dart_SDK.xml (existing - skipped)
[        ]   foo\.idea\libraries\KotlinJavaRuntime.xml (existing - skipped)
[        ]   foo\.idea\modules.xml (existing - skipped)
[        ]   foo\.idea\runConfigurations\main_dart.xml (existing - skipped)
[        ]   foo\.idea\workspace.xml (existing - skipped)
[        ]   foo\analysis_options.yaml (existing - skipped)
[        ]   foo\android\app\build.gradle (existing - skipped)
[        ]   foo\android\app\src\main\kotlin\com\example\foo\MainActivity.kt (existing - skipped)
[        ]   foo\android\build.gradle (existing - skipped)
[        ]   foo\android\foo_android.iml (existing - skipped)
[        ]   foo\android\.gitignore (existing - skipped)
[        ]   foo\android\app\src\debug\AndroidManifest.xml (existing - skipped)
[        ]   foo\android\app\src\main\AndroidManifest.xml (existing - skipped)
[        ]   foo\android\app\src\main\res\drawable\launch_background.xml (existing - skipped)
[        ]   foo\android\app\src\main\res\drawable-v21\launch_background.xml (existing - skipped)
[        ]   foo\android\app\src\main\res\mipmap-hdpi\ic_launcher.png (existing - skipped)
[        ]   foo\android\app\src\main\res\mipmap-mdpi\ic_launcher.png (existing - skipped)
[        ]   foo\android\app\src\main\res\mipmap-xhdpi\ic_launcher.png (existing - skipped)
[        ]   foo\android\app\src\main\res\mipmap-xxhdpi\ic_launcher.png (existing - skipped)
[        ]   foo\android\app\src\main\res\mipmap-xxxhdpi\ic_launcher.png (existing - skipped)
[        ]   foo\android\app\src\main\res\values\styles.xml (existing - skipped)
[        ]   foo\android\app\src\main\res\values-night\styles.xml (existing - skipped)
[        ]   foo\android\app\src\profile\AndroidManifest.xml (existing - skipped)
[        ]   foo\android\gradle\wrapper\gradle-wrapper.properties (existing - skipped)
[        ]   foo\android\gradle.properties (existing - skipped)
[        ]   foo\android\settings.gradle (existing - skipped)
[        ]   foo\ios\Runner\AppDelegate.swift (existing - skipped)
[        ]   foo\ios\Runner\Runner-Bridging-Header.h (existing - skipped)
[        ]   foo\ios\Runner.xcodeproj\project.pbxproj (existing - skipped)
[        ]   foo\ios\Runner.xcodeproj\xcshareddata\xcschemes\Runner.xcscheme (existing - skipped)
[   +1 ms]   foo\ios\RunnerTests\RunnerTests.swift (existing - skipped)
[        ]   foo\ios\.gitignore (existing - skipped)
[        ]   foo\ios\Flutter\AppFrameworkInfo.plist (existing - skipped)
[        ]   foo\ios\Flutter\Debug.xcconfig (existing - skipped)
[        ]   foo\ios\Flutter\Release.xcconfig (existing - skipped)
[        ]   foo\ios\Runner\Assets.xcassets\AppIcon.appiconset\Contents.json (existing - skipped)
[        ]   foo\ios\Runner\Assets.xcassets\AppIcon.appiconset\Icon-App-1024x1024@1x.png (existing - skipped)
[        ]   foo\ios\Runner\Assets.xcassets\AppIcon.appiconset\Icon-App-20x20@1x.png (existing - skipped)
[        ]   foo\ios\Runner\Assets.xcassets\AppIcon.appiconset\Icon-App-20x20@2x.png (existing - skipped)
[        ]   foo\ios\Runner\Assets.xcassets\AppIcon.appiconset\Icon-App-20x20@3x.png (existing - skipped)
[        ]   foo\ios\Runner\Assets.xcassets\AppIcon.appiconset\Icon-App-29x29@1x.png (existing - skipped)
[        ]   foo\ios\Runner\Assets.xcassets\AppIcon.appiconset\Icon-App-29x29@2x.png (existing - skipped)
[        ]   foo\ios\Runner\Assets.xcassets\AppIcon.appiconset\Icon-App-29x29@3x.png (existing - skipped)
[        ]   foo\ios\Runner\Assets.xcassets\AppIcon.appiconset\Icon-App-40x40@1x.png (existing - skipped)
[        ]   foo\ios\Runner\Assets.xcassets\AppIcon.appiconset\Icon-App-40x40@2x.png (existing - skipped)
[        ]   foo\ios\Runner\Assets.xcassets\AppIcon.appiconset\Icon-App-40x40@3x.png (existing - skipped)
[        ]   foo\ios\Runner\Assets.xcassets\AppIcon.appiconset\Icon-App-60x60@2x.png (existing - skipped)
[        ]   foo\ios\Runner\Assets.xcassets\AppIcon.appiconset\Icon-App-60x60@3x.png (existing - skipped)
[        ]   foo\ios\Runner\Assets.xcassets\AppIcon.appiconset\Icon-App-76x76@1x.png (existing - skipped)
[        ]   foo\ios\Runner\Assets.xcassets\AppIcon.appiconset\Icon-App-76x76@2x.png (existing - skipped)
[        ]   foo\ios\Runner\Assets.xcassets\AppIcon.appiconset\Icon-App-83.5x83.5@2x.png (existing - skipped)
[        ]   foo\ios\Runner\Assets.xcassets\LaunchImage.imageset\Contents.json (existing - skipped)
[        ]   foo\ios\Runner\Assets.xcassets\LaunchImage.imageset\LaunchImage.png (existing - skipped)
[        ]   foo\ios\Runner\Assets.xcassets\LaunchImage.imageset\LaunchImage@2x.png (existing - skipped)
[        ]   foo\ios\Runner\Assets.xcassets\LaunchImage.imageset\LaunchImage@3x.png (existing - skipped)
[        ]   foo\ios\Runner\Assets.xcassets\LaunchImage.imageset\README.md (existing - skipped)
[        ]   foo\ios\Runner\Base.lproj\LaunchScreen.storyboard (existing - skipped)
[        ]   foo\ios\Runner\Base.lproj\Main.storyboard (existing - skipped)
[        ]   foo\ios\Runner\Info.plist (existing - skipped)
[        ]   foo\ios\Runner.xcodeproj\project.xcworkspace\contents.xcworkspacedata (existing - skipped)
[        ]   foo\ios\Runner.xcodeproj\project.xcworkspace\xcshareddata\IDEWorkspaceChecks.plist (existing - skipped)
[        ]   foo\ios\Runner.xcodeproj\project.xcworkspace\xcshareddata\WorkspaceSettings.xcsettings (existing - skipped)
[        ]   foo\ios\Runner.xcworkspace\contents.xcworkspacedata (existing - skipped)
[        ]   foo\ios\Runner.xcworkspace\xcshareddata\IDEWorkspaceChecks.plist (existing - skipped)
[        ]   foo\ios\Runner.xcworkspace\xcshareddata\WorkspaceSettings.xcsettings (existing - skipped)
[        ]   foo\linux\.gitignore (existing - skipped)
[        ]   foo\linux\CMakeLists.txt (existing - skipped)
[        ]   foo\linux\flutter\CMakeLists.txt (existing - skipped)
[        ]   foo\linux\runner\CMakeLists.txt (existing - skipped)
[        ]   foo\linux\runner\main.cc (existing - skipped)
[        ]   foo\linux\runner\my_application.cc (existing - skipped)
[        ]   foo\linux\runner\my_application.h (existing - skipped)
[        ]   foo\macos\.gitignore (existing - skipped)
[        ]   foo\macos\Flutter\Flutter-Debug.xcconfig (existing - skipped)
[        ]   foo\macos\Flutter\Flutter-Release.xcconfig (existing - skipped)
[        ]   foo\macos\Runner\AppDelegate.swift (existing - skipped)
[        ]   foo\macos\Runner\Assets.xcassets\AppIcon.appiconset\app_icon_1024.png (existing - skipped)
[        ]   foo\macos\Runner\Assets.xcassets\AppIcon.appiconset\app_icon_128.png (existing - skipped)
[        ]   foo\macos\Runner\Assets.xcassets\AppIcon.appiconset\app_icon_16.png (existing - skipped)
[        ]   foo\macos\Runner\Assets.xcassets\AppIcon.appiconset\app_icon_256.png (existing - skipped)
[        ]   foo\macos\Runner\Assets.xcassets\AppIcon.appiconset\app_icon_32.png (existing - skipped)
[        ]   foo\macos\Runner\Assets.xcassets\AppIcon.appiconset\app_icon_512.png (existing - skipped)
[        ]   foo\macos\Runner\Assets.xcassets\AppIcon.appiconset\app_icon_64.png (existing - skipped)
[        ]   foo\macos\Runner\Assets.xcassets\AppIcon.appiconset\Contents.json (existing - skipped)
[        ]   foo\macos\Runner\Base.lproj\MainMenu.xib (existing - skipped)
[        ]   foo\macos\Runner\Configs\AppInfo.xcconfig (existing - skipped)
[        ]   foo\macos\Runner\Configs\Debug.xcconfig (existing - skipped)
[        ]   foo\macos\Runner\Configs\Release.xcconfig (existing - skipped)
[        ]   foo\macos\Runner\Configs\Warnings.xcconfig (existing - skipped)
[        ]   foo\macos\Runner\DebugProfile.entitlements (existing - skipped)
[        ]   foo\macos\Runner\Info.plist (existing - skipped)
[        ]   foo\macos\Runner\MainFlutterWindow.swift (existing - skipped)
[        ]   foo\macos\Runner\Release.entitlements (existing - skipped)
[        ]   foo\macos\Runner.xcodeproj\project.pbxproj (existing - skipped)
[        ]   foo\macos\Runner.xcodeproj\project.xcworkspace\xcshareddata\IDEWorkspaceChecks.plist (existing - skipped)
[        ]   foo\macos\Runner.xcodeproj\xcshareddata\xcschemes\Runner.xcscheme (existing - skipped)
[        ]   foo\macos\Runner.xcworkspace\contents.xcworkspacedata (existing - skipped)
[        ]   foo\macos\Runner.xcworkspace\xcshareddata\IDEWorkspaceChecks.plist (existing - skipped)
[        ]   foo\macos\RunnerTests\RunnerTests.swift (existing - skipped)
[        ]   foo\foo.iml (existing - skipped)
[        ]   foo\web\favicon.png (existing - skipped)
[        ]   foo\web\icons\Icon-192.png (existing - skipped)
[        ]   foo\web\icons\Icon-512.png (existing - skipped)
[        ]   foo\web\icons\Icon-maskable-192.png (existing - skipped)
[        ]   foo\web\icons\Icon-maskable-512.png (existing - skipped)
[        ]   foo\web\index.html (existing - skipped)
[        ]   foo\web\manifest.json (existing - skipped)
[        ]   foo\windows\.gitignore (existing - skipped)
[        ]   foo\windows\CMakeLists.txt (existing - skipped)
[        ]   foo\windows\flutter\CMakeLists.txt (existing - skipped)
[        ]   foo\windows\runner\CMakeLists.txt (existing - skipped)
[        ]   foo\windows\runner\flutter_window.cpp (existing - skipped)
[        ]   foo\windows\runner\flutter_window.h (existing - skipped)
[        ]   foo\windows\runner\main.cpp (existing - skipped)
[        ]   foo\windows\runner\resource.h (existing - skipped)
[        ]   foo\windows\runner\resources\app_icon.ico (existing - skipped)
[        ]   foo\windows\runner\runner.exe.manifest (existing - skipped)
[        ]   foo\windows\runner\Runner.rc (existing - skipped)
[        ]   foo\windows\runner\utils.cpp (existing - skipped)
[        ]   foo\windows\runner\utils.h (existing - skipped)
[        ]   foo\windows\runner\win32_window.cpp (existing - skipped)
[        ]   foo\windows\runner\win32_window.h (existing - skipped)
[  +13 ms] executing: [D:\PoseAI\couchbase/] C:\FlutterSDK\flutter\bin\cache\dart-sdk\bin\dart pub --suppress-analytics --color --verbose --directory foo get --example
FINE: Pub 3.6.1
MSG : Resolving dependencies in `foo`...
SLVR: fact: foo is 1.0.0+1
SLVR: derived: foo
SLVR: fact: foo depends on flutter from sdk
SLVR: fact: foo depends on cupertino_icons ^1.0.8
SLVR: fact: foo depends on flutter_test from sdk
SLVR: fact: foo depends on flutter_lints ^5.0.0
SLVR:   selecting foo
SLVR:   derived: flutter_lints ^5.0.0
SLVR:   derived: flutter_test from sdk
SLVR:   derived: cupertino_icons ^1.0.8
SLVR:   derived: flutter from sdk
SLVR:   fact: flutter_lints 5.0.0 depends on lints ^5.0.0
SLVR:     selecting flutter_lints 5.0.0
SLVR:     derived: lints ^5.0.0
SLVR:     fact: flutter_test 0.0.0 from sdk depends on flutter from sdk
SLVR:     fact: flutter_test 0.0.0 from sdk depends on test_api 0.7.3
SLVR:     fact: flutter_test 0.0.0 from sdk depends on matcher 0.12.16+1
SLVR:     fact: flutter_test 0.0.0 from sdk depends on path 1.9.0
SLVR:     fact: flutter_test 0.0.0 from sdk depends on fake_async 1.3.1
SLVR:     fact: flutter_test 0.0.0 from sdk depends on clock 1.1.1
SLVR:     fact: flutter_test 0.0.0 from sdk depends on stack_trace 1.12.0
SLVR:     fact: flutter_test 0.0.0 from sdk depends on vector_math 2.1.4
SLVR:     fact: flutter_test 0.0.0 from sdk depends on leak_tracker_flutter_testing 3.0.8
SLVR:     fact: flutter_test 0.0.0 from sdk depends on async 2.11.0
SLVR:     fact: flutter_test 0.0.0 from sdk depends on boolean_selector 2.1.1
SLVR:     fact: flutter_test 0.0.0 from sdk depends on characters 1.3.0
SLVR:     fact: flutter_test 0.0.0 from sdk depends on collection 1.19.0
SLVR:     fact: flutter_test 0.0.0 from sdk depends on leak_tracker 10.0.7
SLVR:     fact: flutter_test 0.0.0 from sdk depends on leak_tracker_testing 3.0.1
SLVR:     fact: flutter_test 0.0.0 from sdk depends on material_color_utilities 0.11.1
SLVR:     fact: flutter_test 0.0.0 from sdk depends on meta 1.15.0
SLVR:     fact: flutter_test 0.0.0 from sdk depends on source_span 1.10.0
SLVR:     fact: flutter_test 0.0.0 from sdk depends on stream_channel 2.1.2
SLVR:     fact: flutter_test 0.0.0 from sdk depends on string_scanner 1.3.0
SLVR:     fact: flutter_test 0.0.0 from sdk depends on term_glyph 1.2.1
SLVR:     fact: flutter_test 0.0.0 from sdk depends on vm_service 14.3.0
SLVR:       selecting flutter_test 0.0.0 from sdk
SLVR:       derived: vm_service 14.3.0
SLVR:       derived: term_glyph 1.2.1
SLVR:       derived: string_scanner 1.3.0
SLVR:       derived: stream_channel 2.1.2
SLVR:       derived: source_span 1.10.0
SLVR:       derived: meta 1.15.0
SLVR:       derived: material_color_utilities 0.11.1
SLVR:       derived: leak_tracker_testing 3.0.1
SLVR:       derived: leak_tracker 10.0.7
SLVR:       derived: collection 1.19.0
SLVR:       derived: characters 1.3.0
SLVR:       derived: boolean_selector 2.1.1
SLVR:       derived: async 2.11.0
SLVR:       derived: leak_tracker_flutter_testing 3.0.8
SLVR:       derived: vector_math 2.1.4
SLVR:       derived: stack_trace 1.12.0
SLVR:       derived: clock 1.1.1
SLVR:       derived: fake_async 1.3.1
SLVR:       derived: path 1.9.0
SLVR:       derived: matcher 0.12.16+1
SLVR:       derived: test_api 0.7.3
SLVR:         selecting cupertino_icons 1.0.8
SLVR:         fact: flutter 0.0.0 from sdk depends on characters 1.3.0
SLVR:         fact: flutter 0.0.0 from sdk depends on collection 1.19.0
SLVR:         fact: flutter 0.0.0 from sdk depends on material_color_utilities 0.11.1
SLVR:         fact: flutter 0.0.0 from sdk depends on meta 1.15.0
SLVR:         fact: flutter 0.0.0 from sdk depends on vector_math 2.1.4
SLVR:         fact: flutter 0.0.0 from sdk depends on sky_engine from sdk
SLVR:           selecting flutter 0.0.0 from sdk
SLVR:           derived: sky_engine from sdk
SLVR:             selecting lints 5.1.1
SLVR:               selecting vm_service 14.3.0
SLVR:                 selecting term_glyph 1.2.1
SLVR:                 fact: string_scanner 1.3.0 depends on source_span ^1.8.0
SLVR:                   selecting string_scanner 1.3.0
SLVR:                   fact: stream_channel 2.1.2 depends on async ^2.5.0
SLVR:                     selecting stream_channel 2.1.2
SLVR:                     fact: source_span 1.10.0 depends on collection ^1.15.0
SLVR:                     fact: source_span 1.10.0 depends on path ^1.8.0
SLVR:                     fact: source_span 1.10.0 depends on term_glyph ^1.2.0
SLVR:                       selecting source_span 1.10.0
SLVR:                         selecting meta 1.15.0
SLVR:                         fact: material_color_utilities 0.11.1 depends on collection ^1.15.0
SLVR:                           selecting material_color_utilities 0.11.1
SLVR:                           fact: leak_tracker_testing 3.0.1 depends on leak_tracker >=9.0.0 <11.0.0
SLVR:                           fact: leak_tracker_testing 3.0.1 depends on matcher ^0.12.16
SLVR:                           fact: leak_tracker_testing 3.0.1 depends on meta ^1.11.0
SLVR:                             selecting leak_tracker_testing 3.0.1
SLVR:                             fact: leak_tracker 10.0.7 depends on clock ^1.1.1
SLVR:                             fact: leak_tracker 10.0.7 depends on collection ^1.15.0
SLVR:                             fact: leak_tracker 10.0.7 depends on meta ^1.8.0
SLVR:                             fact: leak_tracker 10.0.7 depends on path ^1.8.3
SLVR:                             fact: leak_tracker 10.0.7 depends on vm_service >=11.10.0 <15.0.0
SLVR:                               selecting leak_tracker 10.0.7
SLVR:                                 selecting collection 1.19.0
SLVR:                                   selecting characters 1.3.0
SLVR:                                   fact: boolean_selector 2.1.1 depends on source_span ^1.8.0
SLVR:                                   fact: boolean_selector 2.1.1 depends on string_scanner ^1.1.0
SLVR:                                     selecting boolean_selector 2.1.1
SLVR:                                     fact: async 2.11.0 depends on collection ^1.15.0
SLVR:                                     fact: async 2.11.0 depends on meta ^1.1.7
SLVR:                                       selecting async 2.11.0
SLVR:                                       fact: leak_tracker_flutter_testing 3.0.8 depends on flutter from sdk
SLVR:                                       fact: leak_tracker_flutter_testing 3.0.8 depends on leak_tracker ^10.0.7
SLVR:                                       fact: leak_tracker_flutter_testing 3.0.8 depends on leak_tracker_testing ^3.0.1
SLVR:                                       fact: leak_tracker_flutter_testing 3.0.8 depends on matcher ^0.12.16
SLVR:                                       fact: leak_tracker_flutter_testing 3.0.8 depends on meta ^1.8.0
SLVR:                                         selecting leak_tracker_flutter_testing 3.0.8
SLVR:                                           selecting vector_math 2.1.4
SLVR:                                           fact: stack_trace 1.12.0 depends on path ^1.8.0
SLVR:                                             selecting stack_trace 1.12.0
SLVR:                                               selecting clock 1.1.1
SLVR:                                               fact: fake_async 1.3.1 depends on clock ^1.1.0
SLVR:                                               fact: fake_async 1.3.1 depends on collection ^1.15.0
SLVR:                                                 selecting fake_async 1.3.1
SLVR:                                                   selecting path 1.9.0
SLVR:                                                   fact: matcher 0.12.16+1 depends on async ^2.10.0
SLVR:                                                   fact: matcher 0.12.16+1 depends on meta ^1.8.0
SLVR:                                                   fact: matcher 0.12.16+1 depends on stack_trace ^1.10.0
SLVR:                                                   fact: matcher 0.12.16+1 depends on term_glyph ^1.2.0
SLVR:                                                   fact: matcher 0.12.16+1 depends on test_api >=0.5.0 <0.8.0
SLVR:                                                     selecting matcher 0.12.16+1
SLVR:                                                     fact: test_api 0.7.3 depends on async ^2.5.0
SLVR:                                                     fact: test_api 0.7.3 depends on boolean_selector ^2.1.0
SLVR:                                                     fact: test_api 0.7.3 depends on collection ^1.15.0
SLVR:                                                     fact: test_api 0.7.3 depends on meta ^1.14.0
SLVR:                                                     fact: test_api 0.7.3 depends on source_span ^1.8.0
SLVR:                                                     fact: test_api 0.7.3 depends on stack_trace ^1.10.0
SLVR:                                                     fact: test_api 0.7.3 depends on stream_channel ^2.1.0
SLVR:                                                     fact: test_api 0.7.3 depends on string_scanner ^1.1.0
SLVR:                                                     fact: test_api 0.7.3 depends on term_glyph ^1.2.0
SLVR:                                                       selecting test_api 0.7.3
SLVR:                                                         selecting sky_engine 0.0.0 from sdk
SLVR: Version solving took 0:00:00.176331 seconds.
    | Tried 1 solutions.
FINE: Resolving dependencies in `foo` finished (0.198s).
MSG : Downloading packages...
FINE: Downloading packages finished (0.006s).
FINE:   async 2.11.0 (2.12.0 available)
    |   boolean_selector 2.1.1 (2.1.2 available)
    |   characters 1.3.0 (1.4.0 available)
    |   clock 1.1.1 (1.1.2 available)
    |   collection 1.19.0 (1.19.1 available)
    |   fake_async 1.3.1 (1.3.2 available)
    |   leak_tracker 10.0.7 (10.0.8 available)
    |   leak_tracker_flutter_testing 3.0.8 (3.0.9 available)
    |   matcher 0.12.16+1 (0.12.17 available)
    |   material_color_utilities 0.11.1 (0.12.0 available)
    |   meta 1.15.0 (1.16.0 available)
    |   path 1.9.0 (1.9.1 available)
    |   source_span 1.10.0 (1.10.1 available)
    |   stack_trace 1.12.0 (1.12.1 available)
    |   stream_channel 2.1.2 (2.1.4 available)
    |   string_scanner 1.3.0 (1.4.1 available)
    |   term_glyph 1.2.1 (1.2.2 available)
    |   test_api 0.7.3 (0.7.4 available)
    |   vm_service 14.3.0 (15.0.0 available)
MSG : Got dependencies in `foo`.
IO  : Writing 6073 characters to text file foo\pubspec.lock.
FINE: Contents:
    | # Generated by pub
    | # See https://dart.dev/tools/pub/glossary#lockfile
    | packages:
    |   async:
    |     dependency: transitive
    |     description:
    |       name: async
    |       sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "2.11.0"
    |   boolean_selector:
    |     dependency: transitive
    |     description:
    |       name: boolean_selector
    |       sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "2.1.1"
    |   characters:
    |     dependency: transitive
    |     description:
    |       name: characters
    |       sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "1.3.0"
    |   clock:
    |     dependency: transitive
    |     description:
    |       name: clock
    |       sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "1.1.1"
    |   collection:
    |     dependency: transitive
    |     description:
    |       name: collection
    |       sha256: a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "1.19.0"
    |   cupertino_icons:
    |     dependency: "direct main"
    |     description:
    |       name: cupertino_icons
    |       sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "1.0.8"
    |   fake_async:
    |     dependency: transitive
    |     description:
    |       name: fake_async
    |       sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "1.3.1"
    |   flutter:
    |     dependency: "direct main"
    |     description: flutter
    |     source: sdk
    |     version: "0.0.0"
    |   flutter_lints:
    |     dependency: "direct dev"
    |     description:
    |       name: flutter_lints
    |       sha256: "5398f14efa795ffb7a33e9b6a08798b26a180edac4ad7db3f231e40f82ce11e1"
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "5.0.0"
    |   flutter_test:
    |     dependency: "direct dev"
    |     description: flutter
    |     source: sdk
    |     version: "0.0.0"
    |   leak_tracker:
    |     dependency: transitive
    |     description:
    |       name: leak_tracker
    |       sha256: "7bb2830ebd849694d1ec25bf1f44582d6ac531a57a365a803a6034ff751d2d06"
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "10.0.7"
    |   leak_tracker_flutter_testing:
    |     dependency: transitive
    |     description:
    |       name: leak_tracker_flutter_testing
    |       sha256: "9491a714cca3667b60b5c420da8217e6de0d1ba7a5ec322fab01758f6998f379"
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "3.0.8"
    |   leak_tracker_testing:
    |     dependency: transitive
    |     description:
    |       name: leak_tracker_testing
    |       sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "3.0.1"
    |   lints:
    |     dependency: transitive
    |     description:
    |       name: lints
    |       sha256: c35bb79562d980e9a453fc715854e1ed39e24e7d0297a880ef54e17f9874a9d7
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "5.1.1"
    |   matcher:
    |     dependency: transitive
    |     description:
    |       name: matcher
    |       sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "0.12.16+1"
    |   material_color_utilities:
    |     dependency: transitive
    |     description:
    |       name: material_color_utilities
    |       sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "0.11.1"
    |   meta:
    |     dependency: transitive
    |     description:
    |       name: meta
    |       sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "1.15.0"
    |   path:
    |     dependency: transitive
    |     description:
    |       name: path
    |       sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "1.9.0"
    |   sky_engine:
    |     dependency: transitive
    |     description: flutter
    |     source: sdk
    |     version: "0.0.0"
    |   source_span:
    |     dependency: transitive
    |     description:
    |       name: source_span
    |       sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "1.10.0"
    |   stack_trace:
    |     dependency: transitive
    |     description:
    |       name: stack_trace
    |       sha256: "9f47fd3630d76be3ab26f0ee06d213679aa425996925ff3feffdec504931c377"
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "1.12.0"
    |   stream_channel:
    |     dependency: transitive
    |     description:
    |       name: stream_channel
    |       sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "2.1.2"
    |   string_scanner:
    |     dependency: transitive
    |     description:
    |       name: string_scanner
    |       sha256: "688af5ed3402a4bde5b3a6c15fd768dbf2621a614950b17f04626c431ab3c4c3"
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "1.3.0"
    |   term_glyph:
    |     dependency: transitive
    |     description:
    |       name: term_glyph
    |       sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "1.2.1"
    |   test_api:
    |     dependency: transitive
    |     description:
    |       name: test_api
    |       sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c"
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "0.7.3"
    |   vector_math:
    |     dependency: transitive
    |     description:
    |       name: vector_math
    |       sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "2.1.4"
    |   vm_service:
    |     dependency: transitive
    |     description:
    |       name: vm_service
    |       sha256: f6be3ed8bd01289b34d679c2b62226f63c0e69f9fd2e50a6b3c1c729a961041b
    |       url: "https://pub.dev"
    |     source: hosted
    |     version: "14.3.0"
    | sdks:
    |   dart: ">=3.6.1 <4.0.0"
    |   flutter: ">=3.18.0-18.0.pre.54"
IO  : Writing 5791 characters to text file foo\.dart_tool\package_config.json.
FINE: Contents:
    | {
    |   "configVersion": 2,
    |   "packages": [
    |     {
    |       "name": "async",
    |       "rootUri": "file:///C:/Users/joukv/AppData/Local/Pub/Cache/hosted/pub.dev/async-2.11.0",
    |       "packageUri": "lib/",
    |       "languageVersion": "2.18"
    |     },
    |     {
    |       "name": "boolean_selector",
    |       "rootUri": "file:///C:/Users/joukv/AppData/Local/Pub/Cache/hosted/pub.dev/boolean_selector-2.1.1",
    |       "packageUri": "lib/",
    |       "languageVersion": "2.17"
    |     },
    |     {
    |       "name": "characters",
    |       "rootUri": "file:///C:/Users/joukv/AppData/Local/Pub/Cache/hosted/pub.dev/characters-1.3.0",
    |       "packageUri": "lib/",
    |       "languageVersion": "2.12"
    |     },
    |     {
    |       "name": "clock",
    |       "rootUri": "file:///C:/Users/joukv/AppData/Local/Pub/Cache/hosted/pub.dev/clock-1.1.1",
    |       "packageUri": "lib/",
    |       "languageVersion": "2.12"
    |     },
    |     {
    |       "name": "collection",
    |       "rootUri": "file:///C:/Users/joukv/AppData/Local/Pub/Cache/hosted/pub.dev/collection-1.19.0",
    |       "packageUri": "lib/",
    |       "languageVersion": "3.4"
    |     },
    |     {
    |       "name": "cupertino_icons",
    |       "rootUri": "file:///C:/Users/joukv/AppData/Local/Pub/Cache/hosted/pub.dev/cupertino_icons-1.0.8",
    |       "packageUri": "lib/",
    |       "languageVersion": "3.1"
    |     },
    |     {
    |       "name": "fake_async",
    |       "rootUri": "file:///C:/Users/joukv/AppData/Local/Pub/Cache/hosted/pub.dev/fake_async-1.3.1",
    |       "packageUri": "lib/",
    |       "languageVersion": "2.12"
    |     },
    |     {
    |       "name": "flutter",
    |       "rootUri": "file:///C:/FlutterSDK/flutter/packages/flutter",
    |       "packageUri": "lib/",
    |       "languageVersion": "3.3"
    |     },
    |     {
    |       "name": "flutter_lints",
    |       "rootUri": "file:///C:/Users/joukv/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_lints-5.0.0",
    |       "packageUri": "lib/",
    |       "languageVersion": "3.5"
    |     },
    |     {
    |       "name": "flutter_test",
    |       "rootUri": "file:///C:/FlutterSDK/flutter/packages/flutter_test",
    |       "packageUri": "lib/",
    |       "languageVersion": "3.3"
    |     },
    |     {
    |       "name": "leak_tracker",
    |       "rootUri": "file:///C:/Users/joukv/AppData/Local/Pub/Cache/hosted/pub.dev/leak_tracker-10.0.7",
    |       "packageUri": "lib/",
    |       "languageVersion": "3.2"
    |     },
    |     {
    |       "name": "leak_tracker_flutter_testing",
    |       "rootUri": "file:///C:/Users/joukv/AppData/Local/Pub/Cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.8",
    |       "packageUri": "lib/",
    |       "languageVersion": "3.2"
    |     },
    |     {
    |       "name": "leak_tracker_testing",
    |       "rootUri": "file:///C:/Users/joukv/AppData/Local/Pub/Cache/hosted/pub.dev/leak_tracker_testing-3.0.1",
    |       "packageUri": "lib/",
    |       "languageVersion": "3.2"
    |     },
    |     {
    |       "name": "lints",
    |       "rootUri": "file:///C:/Users/joukv/AppData/Local/Pub/Cache/hosted/pub.dev/lints-5.1.1",
    |       "packageUri": "lib/",
    |       "languageVersion": "3.6"
    |     },
    |     {
    |       "name": "matcher",
    |       "rootUri": "file:///C:/Users/joukv/AppData/Local/Pub/Cache/hosted/pub.dev/matcher-0.12.16+1",
    |       "packageUri": "lib/",
    |       "languageVersion": "3.0"
    |     },
    |     {
    |       "name": "material_color_utilities",
    |       "rootUri": "file:///C:/Users/joukv/AppData/Local/Pub/Cache/hosted/pub.dev/material_color_utilities-0.11.1",
    |       "packageUri": "lib/",
    |       "languageVersion": "2.17"
    |     },
    |     {
    |       "name": "meta",
    |       "rootUri": "file:///C:/Users/joukv/AppData/Local/Pub/Cache/hosted/pub.dev/meta-1.15.0",
    |       "packageUri": "lib/",
    |       "languageVersion": "2.12"
    |     },
    |     {
    |       "name": "path",
    |       "rootUri": "file:///C:/Users/joukv/AppData/Local/Pub/Cache/hosted/pub.dev/path-1.9.0",
    |       "packageUri": "lib/",
    |       "languageVersion": "3.0"
    |     },
    |     {
    |       "name": "sky_engine",
    |       "rootUri": "file:///C:/FlutterSDK/flutter/bin/cache/pkg/sky_engine",
    |       "packageUri": "lib/",
    |       "languageVersion": "3.2"
    |     },
    |     {
    |       "name": "source_span",
    |       "rootUri": "file:///C:/Users/joukv/AppData/Local/Pub/Cache/hosted/pub.dev/source_span-1.10.0",
    |       "packageUri": "lib/",
    |       "languageVersion": "2.18"
    |     },
    |     {
    |       "name": "stack_trace",
    |       "rootUri": "file:///C:/Users/joukv/AppData/Local/Pub/Cache/hosted/pub.dev/stack_trace-1.12.0",
    |       "packageUri": "lib/",
    |       "languageVersion": "3.4"
    |     },
    |     {
    |       "name": "stream_channel",
    |       "rootUri": "file:///C:/Users/joukv/AppData/Local/Pub/Cache/hosted/pub.dev/stream_channel-2.1.2",
    |       "packageUri": "lib/",
    |       "languageVersion": "2.19"
    |     },
    |     {
    |       "name": "string_scanner",
    |       "rootUri": "file:///C:/Users/joukv/AppData/Local/Pub/Cache/hosted/pub.dev/string_scanner-1.3.0",
    |       "packageUri": "lib/",
    |       "languageVersion": "3.1"
    |     },
    |     {
    |       "name": "term_glyph",
    |       "rootUri": "file:///C:/Users/joukv/AppData/Local/Pub/Cache/hosted/pub.dev/term_glyph-1.2.1",
    |       "packageUri": "lib/",
    |       "languageVersion": "2.12"
    |     },
    |     {
    |       "name": "test_api",
    |       "rootUri": "file:///C:/Users/joukv/AppData/Local/Pub/Cache/hosted/pub.dev/test_api-0.7.3",
    |       "packageUri": "lib/",
    |       "languageVersion": "3.4"
    |     },
    |     {
    |       "name": "vector_math",
    |       "rootUri": "file:///C:/Users/joukv/AppData/Local/Pub/Cache/hosted/pub.dev/vector_math-2.1.4",
    |       "packageUri": "lib/",
    |       "languageVersion": "2.14"
    |     },
    |     {
    |       "name": "vm_service",
    |       "rootUri": "file:///C:/Users/joukv/AppData/Local/Pub/Cache/hosted/pub.dev/vm_service-14.3.0",
    |       "packageUri": "lib/",
    |       "languageVersion": "3.3"
    |     },
    |     {
    |       "name": "foo",
    |       "rootUri": "../",
    |       "packageUri": "lib/",
    |       "languageVersion": "3.6"
    |     }
    |   ],
    |   "generated": "2025-01-21T21:57:51.119357Z",
    |   "generator": "pub",
    |   "generatorVersion": "3.6.1",
    |   "flutterRoot": "file:///C:/FlutterSDK/flutter",
    |   "flutterVersion": "3.27.3",
    |   "pubCache": "file:///C:/Users/joukv/AppData/Local/Pub/Cache"
    | }
IO  : Writing 34751 characters to text file C:\Users\joukv\AppData\Local\Pub\Cache\log\pub_log.txt.
MSG : Logs written to C:\Users\joukv\AppData\Local\Pub\Cache\log\pub_log.txt.
[ +476 ms] Generating D:\PoseAI\couchbase\foo\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +15 ms] Wrote 3 files.
[        ]
           All done!
[   +1 ms] You can find general documentation for Flutter at: https://docs.flutter.dev/
           Detailed API documentation is available at: https://api.flutter.dev/
           If you prefer video documentation, consider: https://www.youtube.com/c/flutterdev

           In order to run your application, type:

             $ cd foo
             $ flutter run

           Your application code is in foo\lib\main.dart.

[   +4 ms] executing: D:\Software\AndroidStudio\jbr\bin\java -version
[  +81 ms] Exit code 0 from: D:\Software\AndroidStudio\jbr\bin\java -version
[        ] openjdk version "17.0.11" 2024-04-16
           OpenJDK Runtime Environment (build 17.0.11+0--11852314)
           OpenJDK 64-Bit Server VM (build 17.0.11+0--11852314, mixed mode)
[   +2 ms] executing: D:\Software\AndroidStudio\jbr\bin\java --version
[  +80 ms] Exit code 0 from: D:\Software\AndroidStudio\jbr\bin\java --version
[        ] openjdk 17.0.11 2024-04-16
           OpenJDK Runtime Environment (build 17.0.11+0--11852314)
           OpenJDK 64-Bit Server VM (build 17.0.11+0--11852314, mixed mode)
[   +6 ms] "flutter create" took 832ms.
[ +211 ms] ensureAnalyticsSent: 208ms
[   +2 ms] Running 1 shutdown hook
[   +2 ms] Shutdown hooks complete
[        ] exiting with code 0

Flutter Doctor output

Doctor output
[!] Flutter (Channel stable, 3.27.3, on Microsoft Windows [Version 10.0.22631.4751], locale en-US)
    • Flutter version 3.27.3 on channel stable at C:\FlutterSDK\flutter
    ! Upstream repository unknown source is not a standard remote.
      Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.
    • Framework revision c519ee916e (3 hours ago), 2025-01-21 10:32:23 -0800
    • Engine revision e672b006cb
    • Dart version 3.6.1
    • DevTools version 2.40.2
    • 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)

[X] Android toolchain - develop for Android devices
    X Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/to/windows-android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.


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

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.12.3)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.12.35527.113
    • Windows 10 SDK version 10.0.26100.0

[√] Android Studio (version 2024.1)
    • Android Studio at D:\Software\AndroidStudio
    • 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 17.0.11+0--11852314)

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

[√] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions