dev-resources.site
for different kinds of informations.
react-native duplicate class problem
Published at
10/4/2024
Categories
reactnative
gradle
javascript
android
Author
mzakk
Author
5 person written this
mzakk
open
So, i'ave added to my react-native project two libraries:
"react-native-chainway-c71": "^0.1.15",
"uhf-reader-react-native": "^0.0.18"
And I got this error during the build; I don't know how to fix it. The only thing I know is that these classes came from those two libraries.
Can somebody help me set up build.gradle to solve this?
Duplicate class com.rscja.deviceapi.interfaces.IURAxOfAndroidUart found in modules SdkTest-0.0.1.aar -> SdkTest-0.0.1-runtime (com.github.oreste-abizera:SdkTest:0.0.1) an
d classes.jar -> classes (classes.jar)
Duplicate class com.rscja.deviceapi.interfaces.IUhfBle found in modules SdkTest-0.0.1.aar -> SdkTest-0.0.1-runtime (com.github.oreste-abizera:SdkTest:0.0.1) and classes.j
ar -> classes (classes.jar)
Duplicate class com.rscja.deviceapi.interfaces.IUhfReader found in modules SdkTest-0.0.1.aar -> SdkTest-0.0.1-runtime (com.github.oreste-abizera:SdkTest:0.0.1) and classe
s.jar -> classes (classes.jar)
Duplicate class com.rscja.deviceapi.interfaces.IUpgradeProgress found in modules SdkTest-0.0.1.aar -> SdkTest-0.0.1-runtime (com.github.oreste-abizera:SdkTest:0.0.1) and
classes.jar -> classes (classes.jar)
Duplicate class com.rscja.deviceapi.interfaces.IUsbFingerprint found in modules SdkTest-0.0.1.aar -> SdkTest-0.0.1-runtime (com.github.oreste-abizera:SdkTest:0.0.1) and c
lasses.jar -> classes (classes.jar)
Duplicate class com.rscja.deviceapi.interfaces.KeyEventCallback found in modules SdkTest-0.0.1.aar -> SdkTest-0.0.1-runtime (com.github.oreste-abizera:SdkTest:0.0.1) and
classes.jar -> classes (classes.jar)
Duplicate class com.rscja.deviceapi.interfaces.ScanBTCallback found in modules SdkTest-0.0.1.aar -> SdkTest-0.0.1-runtime (com.github.oreste-abizera:SdkTest:0.0.1) and cl
asses.jar -> classes (classes.jar)
Duplicate class com.rscja.scanner.IScanner found in modules SdkTest-0.0.1.aar -> SdkTest-0.0.1-runtime (com.github.oreste-abizera:SdkTest:0.0.1) and classes.jar -> classe
s (classes.jar)
gradle Article's
30 articles in total
Understanding (a bit of) the Gradle Kotlin DSL
read article
Zero Config Spring Batch: Just Write Business Logic
read article
JeKa: The Simplest Way to Create Uber and Shade Jars
read article
JeKa: The Simplest Way to Publish on Maven Central
read article
Gradle extensions part 2: Now with shenanigans
read article
Wednesday Links - Edition 2024-11-27
read article
A brand new Java scaffolding has been born today for Make Java Great Again!
read article
Wednesday Links - Edition 2024-10-16
read article
Gradle 8.11: Faster Configuration Cache and Improved Configuration Time
read article
react-native duplicate class problem
currently reading
Breaking the build 😝 : Demystifying Gradle
read article
Wednesday Links - Edition 2024-09-11
read article
One click dependencies fix
read article
ACAB: Fire the (code style) cop in your head
read article
Telltale: Automating Experimentation in Gradle Builds
read article
Minecraft Modpack Development Update: Beta Test and Musical Additions
read article
Gradle upgrade
read article
Announcing Dependency Analysis Gradle Plugin 2.0.0!
read article
Wednesday Links - Edition 2024-07-24
read article
Resource observability case study: jemalloc in Android builds
read article
How store signing keystore.
read article
Simple way to store secrets in Android Project.
read article
Developing a Custom Gradle Plugin for Formatting and Static Analysis
read article
Gradle Commands Cheat Sheet
read article
Wednesday Links - Edition 2024-04-24
read article
Gradle DSL: Configurando JaCoco
read article
Unearthing the Quirk: Dealing with File Access Issues that arise from Resource Optimization in Android Applications
read article
🍒 Cherry-Picked Nx v18.2 Updates
read article
Making Your Android Project Modular With Convention Plugins
read article
Kradle 9.0: Revolutionizing the JVM Ecosystem with Kotlin at its Core!
read article
Featured ones: