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

Failed to install nuget package #1866

Open
2 tasks done
KnowScratcher opened this issue Dec 29, 2024 · 0 comments
Open
2 tasks done

Failed to install nuget package #1866

KnowScratcher opened this issue Dec 29, 2024 · 0 comments
Labels

Comments

@KnowScratcher
Copy link

KnowScratcher commented Dec 29, 2024

Checklist

  • I read the troubleshooting guide before raising this issue
  • I made sure that the issue I am raising doesn't already exist

Current bug behaviour

showing the following error message:
CMake Error at flutter/ephemeral/.plugin_symlinks/audioplayers_windows/windows/CMakeLists.txt:29 (message):
Failed to install nuget package
Microsoft.Windows.ImplementationLibrary.1.0.210803.1

Error: Unable to generate build files

Expected behaviour

not show the message and build dev version normally

Steps to reproduce

  1. open the project with android studio
  2. click the run button

Code sample

as the example provided

Affected platforms

Windows

Platform details

  • Windows: Windows 11, VS build tool 2019 (with win10 SDK 10.0.19041.0 and MSVC installed v142 - VS 2019 C++ build tools installed)

AudioPlayers Version

6.1.0

Build mode

debug

Audio Files/URLs/Sources

as the example provided

Screenshots

image

Logs

my relevant logs
Full Logs
Resolving dependencies...
Downloading packages...
+ async 2.11.0 (2.12.0 available)
+ audioplayers 6.1.0
+ audioplayers_android 5.0.0
+ audioplayers_darwin 6.0.0
+ audioplayers_linux 4.0.0
+ audioplayers_platform_interface 7.0.0
+ audioplayers_web 5.0.1
+ audioplayers_windows 4.0.0
+ 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)
+ cross_file 0.3.4+2
+ crypto 3.0.6
+ fake_async 1.3.1 (1.3.2 available)
+ ffi 2.1.3
+ file 7.0.0 (7.0.1 available)
+ file_picker 8.1.7
+ fixnum 1.1.1
+ flame_lint 1.2.1
+ flutter 0.0.0 from sdk flutter
+ flutter_driver 0.0.0 from sdk flutter
+ flutter_plugin_android_lifecycle 2.0.24
+ flutter_test 0.0.0 from sdk flutter
+ flutter_web_plugins 0.0.0 from sdk flutter
+ fuchsia_remote_debug_protocol 0.0.0 from sdk flutter
+ http 1.2.2
+ http_parser 4.1.1
+ integration_test 0.0.0 from sdk flutter
+ leak_tracker 10.0.7 (10.0.8 available)
+ leak_tracker_flutter_testing 3.0.8 (3.0.9 available)
+ leak_tracker_testing 3.0.1
+ lints 4.0.0 (5.1.1 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)
+ nested 1.0.0
+ path 1.9.0 (1.9.1 available)
+ path_provider 2.1.5
+ path_provider_android 2.2.15
+ path_provider_foundation 2.4.1
+ path_provider_linux 2.2.1
+ path_provider_platform_interface 2.1.2
+ path_provider_windows 2.3.0
+ platform 3.1.5 (3.1.6 available)
+ plugin_platform_interface 2.1.8
+ process 5.0.2 (5.0.3 available)
+ provider 6.1.2
+ sky_engine 0.0.0 from sdk flutter
+ source_span 1.10.0 (1.10.1 available)
+ sprintf 7.0.0
+ stack_trace 1.12.0 (1.12.1 available)
+ stream_channel 2.1.2 (2.1.3 available)
+ string_scanner 1.3.0 (1.4.1 available)
+ sync_http 0.3.1
+ synchronized 3.3.0+3
+ term_glyph 1.2.1 (1.2.2 available)
+ test_api 0.7.3 (0.7.4 available)
+ typed_data 1.4.0
+ uuid 4.5.1
+ vector_math 2.1.4
+ vm_service 14.3.0 (15.0.0 available)
+ web 1.1.0
+ webdriver 3.0.4
+ win32 5.9.0
+ xdg_directories 1.1.0
Changed 66 dependencies!
23 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
Launching lib\main.dart on Windows in debug mode...
Building Windows application...
CMake Error at flutter/ephemeral/.plugin_symlinks/audioplayers_windows/windows/CMakeLists.txt:29 (message):
Failed to install nuget package
Microsoft.Windows.ImplementationLibrary.1.0.210803.1


Error: Unable to generate build files

Flutter doctor:

[√] Flutter (Channel stable, 3.27.1, on Microsoft Windows [版本 10.0.22631.4602], locale zh-TW)
  • Flutter version 3.27.1 on channel stable at C:\Users\user\dev\flutter
  • Upstream repository https://github.com/flutter/flutter.git
  • Framework revision 17025dd882 (12 days ago), 2024-12-17 03:23:09 +0900
  • Engine revision cb4b5fff73
  • Dart version 3.6.0
  • DevTools version 2.40.2

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
  • Android SDK at C:\Users\user\AppData\Local\Android\sdk
  • Platform android-34, build-tools 34.0.0
  • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
  • Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314)
  • All Android licenses accepted.

[√] 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 (version 2024.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 17.0.11+0--11852314)

[√] IntelliJ IDEA Community Edition (version 2023.3)
  • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2023.3.4
  • 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.96.2)
  • VS Code at C:\Users\user\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 [版本 10.0.22631.4602]
  • Chrome (web)      • chrome  • web-javascript • Google Chrome 131.0.6778.205
  • Edge (web)        • edge    • web-javascript • Microsoft Edge 131.0.2903.112

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

• No issues found!

Related issues / more information

No response

Working on PR

no way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant