Home > Web Front-end > JS Tutorial > body text

react-native duplicate class problem

Barbara Streisand
Release: 2024-10-04 16:21:02
Original
377 people have browsed it

react-native duplicate class problem

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"


Copy after login

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)


Copy after login

The above is the detailed content of react-native duplicate class problem. For more information, please follow other related articles on the PHP Chinese website!

source:dev.to
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!