0

I'm working on a document scanner app, first I added this plugin and everything worked fine until I decided to add some filters with OpenCV. I installed this other plugin plugin to handle the image filter but when I tried to run the app I get the next error:

`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 org.opencv.BuildConfig found in modules jetified-opencv-4.1.0-runtime (com.quickbirdstudios:opencv:4.1.0) and jetified-opencv-4.1.0-runtime (com.websitebeaver:opencv:4.1.0) `

The error output list a lot of other duplicated classes all OpenCV related, I saw some similar post but the problem there is just the version of a dependency but here looks like something else and I just can figure out how to solve this.

I tried the suggestions from these posts but nothing same to solve the problem here and here

thanks in advance

toyota Supra
  • 3,181
  • 4
  • 15
  • 19

0 Answers0