Ali*_*dar 3 react-native jitsi-meet
大家好,我想react-native-jitsi-meet在我的移动项目中使用,我使用react-native-jitsi-meet“^2.2.0”版本,“react-native”:“0.66.2”版本和"@react-native-async-storage/async-storage": "github:react-native-async-storage/async-storage"包,在我的android/app/build.gradle我排除async-storage但我仍然收到此错误,有人吗可以理解问题所在。
com.android.builder.dexing.DexArchiveMergerException:合并 dex 存档时出错:类型 com.reactnativecommunity.asyncstorage.AsyncLocalStorageUtil 被定义多次
> implementation(project(':react-native-jitsi-meet')) {
> exclude group: 'com.facebook',module:'hermes'
> exclude group: 'com.facebook.react',module:'@react-native-async-storage/async-storage'
> exclude group: 'com.facebook.react',module:'react-native-svg'
> exclude group: 'com.facebook.react',module:'react-native-linear-gradient'
> exclude group: 'com.facebook.react',module:'react-native-vector-icons'
> transitive = true
> }
Run Code Online (Sandbox Code Playgroud)
小智 9
我的项目的问题是依赖项"@react-native-community"已经有 async-storage 的子目录。如果您同时使用@react-native-async-storage、 和@react-native-community,它将无法构建。
删除@react-native-community或@react-native-async-storage。最好删除,@react-native-community/async-storage因为文档指出“异步存储已转移到新组织: https: //github.com/react-native-async-storage/async-storage”
然后run npm install.
| 归档时间: |
|
| 查看次数: |
2778 次 |
| 最近记录: |