audio_service
audio_service copied to clipboard
Version solving faliled with flutter_cache_manager and http
Minimal reproduction project
Official example: main.dart
Build command
flutter pub get
Build error
Resolving dependencies...
Because no versions of audio_service match >0.18.10 <0.19.0 and audio_service 0.18.10 depends on flutter_cache_manager ^3.0.1, audio_service ^0.18.10 requires flutter_cache_manager ^3.0.1.
And because flutter_cache_manager >=3.0.0-nullsafety.0 depends on http ^0.13.0, audio_service ^0.18.10 requires http ^0.13.0.
So, because dhunter_audiobook depends on both audio_service ^0.18.10 and http ^1.0.0, version solving failed.
exit code 1
Comments
Not citical yet but should be updated to use latest http package. But it seems that flutter_cache_manager has not been updated since 18 months
Output of flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.10.5, on macOS 13.4 22F66 darwin-arm64, locale pl-PL)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.79.2)
[✓] Connected device (2 available)
[✓] Network resources
• No issues found!
Relevant issue: https://github.com/Baseflow/flutter_cache_manager/issues/413
PR: https://github.com/Baseflow/flutter_cache_manager/pull/414
flutter_cache_manager has made a new release that should solve the constraint issue. Let me know if you still have any issue, otherwise we can close this issue.