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

Not compaitable with latest audioplayer when addin to pubspec #1

Closed
shabaad opened this issue Apr 17, 2023 · 1 comment
Closed

Not compaitable with latest audioplayer when addin to pubspec #1

shabaad opened this issue Apr 17, 2023 · 1 comment

Comments

@shabaad
Copy link

shabaad commented Apr 17, 2023

Running "flutter pub get" in ANIMAGIE-PROJECT...
Resolving dependencies...
Because every version of easy_audio_trimmer depends on audioplayers ^1.1.1 and animagieeui depends on audioplayers ^3.0.1, easy_audio_trimmer is forbidden.
So, because animagieeui depends on easy_audio_trimmer ^1.0.1+2, version solving failed.
pub get failed
command: "C:\flutter\bin\cache\dart-sdk\bin\dart __deprecated_pub --directory . get --example"
pub env: {
"FLUTTER_ROOT": "C:\flutter",
"PUB_ENVIRONMENT": "vscode.dart-code:flutter_cli:get",
"PUB_CACHE": "C:\Users\PC\AppData\Local\Pub\Cache",
}
exit code: 1

exit code 1

@shabaad
Copy link
Author

shabaad commented Apr 18, 2023

forked the repo and updated audioplayer to latest but new error when taking build as follows :

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:checkDebugDuplicateClasses'.

A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
Duplicate class com.arthenica.ffmpegkit.Abi found in modules jetified-ffmpeg-kit-https-5.1-runtime (com.arthenica:ffmpeg-kit-https:5.1) and jetified-ffmpeg-kit-min-gpl-4.5.1-1-runtime (com.arthenica:ffmpeg-kit-min-gpl:4.5.1-1)
Duplicate class com.arthenica.ffmpegkit.AbiDetect found in modules jetified-ffmpeg-kit-https-5.1-runtime (com.arthenica:ffmpeg-kit-https:5.1) and jetified-ffmpeg-kit-min-gpl-4.5.1-1-runtime (com.arthenica:ffmpeg-kit-min-gpl:4.5.1-1)
Duplicate class com.arthenica.ffmpegkit.AbstractSession found in modules jetified-ffmpeg-kit-https-5.1-runtime (com.arthenica:ffmpeg-kit-https:5.1) and jetified-ffmpeg-kit-min-gpl-4.5.1-1-runtime (com.arthenica:ffmpeg-kit-min-gpl:4.5.1-1)
Duplicate class com.arthenica.ffmpegkit.AsyncFFmpegExecuteTask found in modules jetified-ffmpeg-kit-https-5.1-runtime (com.arthenica:ffmpeg-kit-https:5.1) and jetified-ffmpeg-kit-min-gpl-4.5.1-1-runtime (com.arthenica:ffmpeg-kit-min-gpl:4.5.1-1)
Duplicate class com.arthenica.ffmpegkit.AsyncFFprobeExecuteTask found in modules jetified-ffmpeg-kit-https-5.1-runtime (com.arthenica:ffmpeg-kit-https:5.1) and jetified-ffmpeg-kit-min-gpl-4.5.1-1-runtime (com.arthenica:ffmpeg-kit-min-gpl:4.5.1-1)
Duplicate class com.arthenica.ffmpegkit.AsyncGetMediaInformationTask found in modules jetified-ffmpeg-kit-https-5.1-runtime (com.arthenica:ffmpeg-kit-https:5.1) and jetified-ffmpeg-kit-min-gpl-4.5.1-1-runtime (com.arthenica:ffmpeg-kit-min-gpl:4.5.1-1)
Duplicate class com.arthenica.ffmpegkit.BuildConfig found in modules jetified-ffmpeg-kit-https-5.1-runtime (com.arthenica:ffmpeg-kit-https:5.1) and jetified-ffmpeg-kit-min-gpl-4.5.1-1-runtime (com.arthenica:ffmpeg-kit-min-gpl:4.5.1-1)
.......
Go to the documentation to learn how to Fix dependency resolution errors.

@shabaad shabaad closed this as completed Apr 26, 2023
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