所以,我在我的react-native项目中添加了两个库:
"react-native-chainway-c71": "^0.1.15", "uhf-reader-react-native": "^0.0.18"
我在构建过程中遇到了这个错误;我不知道如何解决它。我唯一知道的是这些类来自这两个库。
有人可以帮我设置 build.gradle 来解决这个问题吗?
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)
以上就是React-Native重复类问题的详细内容,更多请关注php中文网其它相关文章!
版权声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系 yyfuon@163.com