首页 > web前端 > js教程 > 正文

React-Native重复类问题

Barbara Streisand
发布: 2024-10-04 16:21:02
原创
377 人浏览过

react-native duplicate class problem

所以,我在我的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中文网其他相关文章!

来源:dev.to
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
作者最新文章
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责声明 Sitemap
PHP中文网:公益在线PHP培训,帮助PHP学习者快速成长!