I used version 6.3.0 in my flutter project, but it just stopped working and produced this error:
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
and the pubspec.yaml
looks like
dependencies:
flutter:
sdk: flutter
flutter_map_geojson: ^1.0.8
cupertino_icons: ^1.0.6
flutter_map: ^7.0.2
latlong2: ^0.9.1
http: ^1.2.1
window_size:
git:
url: .git
path: plugins/window_size
ref: fd519be1e8398c6b6c2062c2447bac960a71bc02
provider: ^6.0.0
mqtt_client: ^10.2.1
path_provider: ^2.1.3
shared_preferences: ^2.2.3
audioplayers: ^6.3.0
I tried the example code but it still give the same error.
I also tried installing win10 SDK (10.0.18362.0)
Do anyone know what this means and how to fix it?
I used version 6.3.0 in my flutter project, but it just stopped working and produced this error:
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
and the pubspec.yaml
looks like
dependencies:
flutter:
sdk: flutter
flutter_map_geojson: ^1.0.8
cupertino_icons: ^1.0.6
flutter_map: ^7.0.2
latlong2: ^0.9.1
http: ^1.2.1
window_size:
git:
url: https://github/google/flutter-desktop-embedding.git
path: plugins/window_size
ref: fd519be1e8398c6b6c2062c2447bac960a71bc02
provider: ^6.0.0
mqtt_client: ^10.2.1
path_provider: ^2.1.3
shared_preferences: ^2.2.3
audioplayers: ^6.3.0
I tried the example code but it still give the same error.
I also tried installing win10 SDK (10.0.18362.0)
Do anyone know what this means and how to fix it?
Share Improve this question asked Mar 10 at 14:58 知識日常 Know Scratcher知識日常 Know Scratcher 461 silver badge8 bronze badges1 Answer
Reset to default 0Thanks everyone for stopping by.
I figured it out, it's the firewall that blocked me from reaching to nuget, so I turned off the firewall then it work.