bluefireteam / audioplayers

A Flutter package to play multiple audio files simultaneously (Android/iOS/web/Linux/Windows/macOS)
https://pub.dartlang.org/packages/audioplayers
MIT License
1.98k stars 842 forks source link

I can not use the 0.12.0 #172

Closed badboy-tian closed 5 years ago

badboy-tian commented 5 years ago
Because flutter_cache_manager 0.3.2 depends on path_provider ^0.5.0+1 and no versions of flutter_cache_manager match >0.3.2 <0.4.0, flutter_cache_manager ^0.3.2 requires path_provider ^0.5.0+1.
And because audioplayers >=0.12.0 depends on path_provider ^1.1.0, audioplayers >=0.12.0 is incompatible with flutter_cache_manager ^0.3.2.
And because cached_network_image 0.8.0 depends on flutter_cache_manager ^0.3.2 and no versions of cached_network_image match >0.8.0 <0.9.0, audioplayers >=0.12.0 is incompatible with cached_network_image ^0.8.0.
So, because voicechanger_app depends on both cached_network_image ^0.8.0 and audioplayers ^0.12.0, version solving failed.
pub get failed (1)
version: 1.0.0+1

environment:
  sdk: ">=2.1.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter

  cupertino_icons: ^0.1.2
  scoped_model: ^1.0.1
  cached_network_image: ^0.8.0
  dio: ^2.1.3
  intl: ^0.15.8
  photo_view: ^0.3.3
  permission_handler: '^3.0.0'
  audioplayers: ^0.12.0

dev_dependencies:
  flutter_test:
    sdk: flutter

flutter:
  uses-material-design: true
  assets:
    - assets/images/
erickzanardo commented 5 years ago

Hello, there ins't much we can do here, you have dependencies that require path_provider 0.5.0+1 and we depend on path_provider 1.0.0.

To use this latest version, you will need to wait those dependencies upgrade to the latest path_provider version.

In the mean time I suggest using the previous version of audioplayers, which stills uses path_provider 0.5.0.