Closed shabaad closed 1 year ago
forked the repo and updated audioplayer to latest but new error when taking build as follows :
FAILURE: Build failed with an exception.
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.
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