Closed BodenTide closed 10 months ago
the same
Sorry this project is not actively maintained but cached_video_player is not supposed to be used alongside video_player.
The solutation is add dependency_overrides in your pubspec.yaml, such as:
dependency_overrides: video_player_platform_interface: ^6.1.0
Because no versions of cached_video_player match >2.0.4 <3.0.0 and cached_video_player 2.0.4 depends on video_player_platform_interface ^5.1.2, cached_video_player ^2.0.4 requires video_player_platform_interface ^5.1.2. And because video_player >=2.6.1 depends on video_player_platform_interface ^6.1.0, cached_video_player ^2.0.4 is incompatible with video_player >=2.6.1. So, because APP depends on both video_player ^2.7.0 and cached_video_player ^2.0.4, version solving failed.