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

Dependency conflict between video_editor and cached_video_player #91

Open
adarshneeds opened this issue Mar 5, 2024 · 0 comments
Open

Comments

@adarshneeds
Copy link

adarshneeds commented Mar 5, 2024

I am encountering a dependency conflict between the video_editor and cached_video_player packages in my Flutter project. The issue arises because video_editor >=3.0.0 requires video_player_platform_interface ^6.1.0, which conflicts with cached_video_player 2.0.4's dependency on video_player_platform_interface ^5.1.2.

As a result, when I try to include both packages in my pubspec.yaml file, I receive the following error during dependency resolution:

Resolving dependencies...
Because video_editor >=3.0.0 depends on video_player ^2.6.1 which depends on video_player_platform_interface ^6.1.0, video_editor >=3.0.0 requires video_player_platform_interface ^6.1.0.
And because cached_video_player 2.0.4 depends on video_player_platform_interface ^5.1.2 and no versions of cached_video_player match >2.0.4 <3.0.0, video_editor >=3.0.0 is incompatible with cached_video_player ^2.0.4.

I have tried various version combinations and constraints, but have not been able to resolve the conflict. Any guidance on how to resolve this issue would be greatly appreciated. Thank you!

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

No branches or pull requests

1 participant