Skip to content

cannot run the example project on win11 #129

@aykutucar

Description

@aykutucar

I tried flutter clean.

I get this:
../../../AppData/Local/Pub/Cache/hosted/pub.dev/flutter_midi_command_windows-0.1.1/lib/device_monitor.dart(56,9): error GC9768DF9: Undefined name 'registered'. [C:\Users\x\Downloads\midi\example\build\windows\x64\flutter\flutter_assemble.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: Custom build for 'C:\Users\x\Downloads\midi\example\build\windows\x64\CMakeFiles\a96c9e2d14abdff2c3fd7c1dcce9ab0f\flutter_windows.dll.rule;C:\Users\x\Downloads\midi\example\build\windows\x64\CMakeFiles\641bf376e5f9252087b03f159ea81915\flutter_assemble.rule;C:\Users\x\Downloads\midi\example\windows\flutter\CMakeLists.txt' exited with code 1. [C:\Users\x\Downloads\midi\example\build\windows\x64\flutter\flutter_assemble.vcxproj]
Error: Build process failed.

Cmake version Vs2022 uses is 3.29

[√] Flutter (Channel stable, 3.24.5, on Microsoft Windows [Version 10.0.26100.2605], locale en-US)
• Flutter version 3.24.5 on channel stable at C:\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision dec2ee5c1f (5 weeks ago), 2024-11-13 11:13:06 -0800
• Engine revision a18df97ca5
• Dart version 3.5.4
• DevTools version 2.37.3

[√] 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.22621.0

[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/to/windows-android-setup for detailed instructions).

[√] VS Code (version 1.96.0)
• VS Code at C:\Users\x\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.102.0

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

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

Any ideas on what I am missing?
Thanks.

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