react-native-video-processing icon indicating copy to clipboard operation
react-native-video-processing copied to clipboard

Build error :app:checkDebugDuplicateClasses

Open batuhanbag opened this issue 2 years ago • 4 comments

I can't get a build with react native processing, I get app:checkDebugDuplicateClasses error every time, I tried the solutions suggested on stackoverflow or everywhere else but I couldn't do it. what is the reason for this?

build.gradle `buildscript { ext { buildToolsVersion = "30.0.2" minSdkVersion = 21 compileSdkVersion = 31 targetSdkVersion = 31 ndkVersion = "21.4.7075529"

}
repositories {
    google()
    mavenCentral()
}
dependencies {
    classpath("com.android.tools.build:gradle:7.0.0")
    
    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
}

} allprojects { repositories { mavenCentral() mavenLocal() maven { // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm url("$rootDir/../node_modules/react-native/android") } maven { // Android JSC is installed from npm url("$rootDir/../node_modules/jsc-android/dist") } jcenter() jcenter() { content { includeModule("cn.aigestudio.wheelpicker", "WheelPicker") } }

    google()
    maven { url 'https://www.jitpack.io' }
}

}`

batuhanbag avatar Dec 15 '22 09:12 batuhanbag

@batuhanbag did you get this to work?

superandrew213 avatar Jan 09 '23 04:01 superandrew213

no I didn't, I find another way that I want to do without react-native-processing

batuhanbag avatar Jan 09 '23 09:01 batuhanbag

i solved

implementation(project(':react-native-video-processing')) { exclude group: 'com.yqritc' }

enganasalsaadi avatar Apr 06 '23 10:04 enganasalsaadi