1

我在用

com.quickblox:quickblox-android-sdk-videochat-webrtc:3.9.1用于聊天

org.jitsi.react:jitsi-meet-sdk:2.10.0 //用于会议

但无法解决这些问题

在模块 jetified-google-webrtc-1.0.25003-runtime (org.webrtc:google-webrtc:1.0.25003) 和 jetified-react-native-webrtc-1.84.0-jitsi-5385907 中发现重复的类 org.webrtc.AndroidVideoDecoder -runtime (com.facebook.react:react-native-webrtc:1.84.0-jitsi-5385907) 在模块 jetified-google-webrtc-1.0.25003-runtime (org.webrtc: google-webrtc:1.0.25003) 和 jetified-react-native-webrtc-1.84.0-jitsi-5385907-runtime (com.facebook.react:react-native-webrtc:1.84.0-jitsi-5385907) 重复类组织.webrtc.AndroidVideoDecoder$DecodedTextureMetadata 在模块 jetified-google-webrtc-1.0.25003-runtime (org.webrtc:google-webrtc:1.0.25003) 和 jetified-react-native-webrtc-1.84.0-jitsi-5385907-运行时 (com.facebook.react:react-native-webrtc:1.84.0-jitsi-5385907) 重复类 org.webrtc。AndroidVideoDecoder$FrameInfo 在模块 jetified-google-webrtc-1.0.25003-runtime (org.webrtc:google-webrtc:1.0.25003) 和 jetified-react-native-webrtc-1.84.0-jitsi-5385907-runtime (com .facebook.react:react-native-webrtc:1.84.0-jitsi-5385907) 在模块 jetified-google-webrtc-1.0.25003-runtime (org.webrtc:google-webrtc:1.0 .25003) 和 jetified-react-native-webrtc-1.84.0-jitsi-5385907-runtime (com.facebook.react:react-native-webrtc:1.84.0-jitsi-5385907) 发现重复类 org.webrtc.AudioSource在模块 jetified-google-webrtc-1.0.25003-runtime (org.webrtc:google-webrtc:1.0.25003) 和 jetified-react-native-webrtc-1.84.0-jitsi-5385907-runtime (com.facebook.react :react-native-webrtc:1.84.0-jitsi-5385907) 在模块 jetified-google-webrtc-1.0 中发现重复的类 org.webrtc.AudioTrack。25003-runtime (org.webrtc:google-webrtc:1.0.25003) 和 jetified-react-native-webrtc-1.84.0-jitsi-5385907-runtime (com.facebook.react:react-native-webrtc:1.84.0 -jitsi-5385907) 在模块 jetified-google-webrtc-1.0.25003-runtime (org.webrtc:google-webrtc:1.0.25003) 和 jetified-react-native-webrtc-1.84 中发现重复的类 org.webrtc.BaseBitrateAdjuster。 0-jitsi-5385907-runtime (com.facebook.react:react-native-webrtc:1.84.0-jitsi-5385907) 在模块 jetified-google-webrtc-1.0.25003-runtime ( org.webrtc:google-webrtc:1.0.25003) 和 jetified-react-native-webrtc-1.84.0-jitsi-5385907-runtime (com.facebook.react:react-native-webrtc:1.84.0-jitsi-5385907 ) 在模块 jetified-google-webrtc-1.0.25003-runtime (org.webrtc:google-webrtc:1.0.25003) 和 jetified-react-native-webrtc-1.84.0-jitsi-5385907-runtime (com.facebook.react:react-native-webrtc:1.84.0-jitsi-5385907) 重复类 org.webrtc.CalledByNative 发现于模块 jetified-google-webrtc-1.0.25003-runtime (org.webrtc:google-webrtc:1.0.25003) 和 jetified-react-native-webrtc-1.84.0-jitsi-5385907-runtime (com.facebook.react: react-native-webrtc:1.84.0-jitsi-5385907) 重复类 org.webrtc.CalledByNativeUnchecked 在模块 jetified-google-webrtc-1.0.25003-runtime (org.webrtc:google-webrtc:1.0.25003) 和 jetified -react-native-webrtc-1.84.0-jitsi-5385907-runtime (com.facebook.react:react-native-webrtc:1.84.0-jitsi-5385907) 在模块 jetified-google 中找到重复的类 org.webrtc.Camera1Capturer -webrtc-1.0.25003-运行时1.84.0-jitsi-5385907) 在模块 jetified-google-webrtc-1.0.25003-runtime (org.webrtc:google-webrtc:1.0.25003) 和 jetified-react-native-webrtc 中发现重复的类 org.webrtc.CalledByNative -1.84.0-jitsi-5385907-runtime (com.facebook.react:react-native-webrtc:1.84.0-jitsi-5385907) 在模块 jetified-google-webrtc-1.0.25003 中发现重复的类 org.webrtc.CalledByNativeUnchecked -runtime (org.webrtc:google-webrtc:1.0.25003) 和 jetified-react-native-webrtc-1.84.0-jitsi-5385907-runtime (com.facebook.react:react-native-webrtc:1.84.0- jitsi-5385907) 在模块 jetified-google-webrtc-1.0.25003-runtime 中发现重复的类 org.webrtc.Camera1Capturer1.84.0-jitsi-5385907) 在模块 jetified-google-webrtc-1.0.25003-runtime (org.webrtc:google-webrtc:1.0.25003) 和 jetified-react-native-webrtc 中发现重复的类 org.webrtc.CalledByNative -1.84.0-jitsi-5385907-runtime (com.facebook.react:react-native-webrtc:1.84.0-jitsi-5385907) 在模块 jetified-google-webrtc-1.0.25003 中发现重复的类 org.webrtc.CalledByNativeUnchecked -runtime (org.webrtc:google-webrtc:1.0.25003) 和 jetified-react-native-webrtc-1.84.0-jitsi-5385907-runtime (com.facebook.react:react-native-webrtc:1.84.0- jitsi-5385907) 在模块 jetified-google-webrtc-1.0.25003-runtime 中发现重复的类 org.webrtc.Camera1Capturer0-jitsi-5385907-runtime (com.facebook.react:react-native-webrtc:1.84.0-jitsi-5385907) 在模块 jetified-google-webrtc-1.0.25003-runtime ( org.webrtc:google-webrtc:1.0.25003) 和 jetified-react-native-webrtc-1.84.0-jitsi-5385907-runtime (com.facebook.react:react-native-webrtc:1.84.0-jitsi-5385907 ) 在模块 jetified-google-webrtc-1.0.25003-runtime 中发现重复的类 org.webrtc.Camera1Capturer0-jitsi-5385907-runtime (com.facebook.react:react-native-webrtc:1.84.0-jitsi-5385907) 在模块 jetified-google-webrtc-1.0.25003-runtime ( org.webrtc:google-webrtc:1.0.25003) 和 jetified-react-native-webrtc-1.84.0-jitsi-5385907-runtime (com.facebook.react:react-native-webrtc:1.84.0-jitsi-5385907 ) 在模块 jetified-google-webrtc-1.0.25003-runtime 中发现重复的类 org.webrtc.Camera1CapturerCamera1Capturer 在模块 jetified-google-webrtc-1.0.25003-runtime 中找到Camera1Capturer 在模块 jetified-google-webrtc-1.0.25003-runtime 中找到

4

1 回答 1

5

可能是一个较晚的答案,但为了将来参考,这两个依赖项都WebRtc用作传递依赖项,因此重复类

implementation ('org.jitsi.react:jitsi-meet-sdk:2.10.0') {
    transitive = true
    exclude group: 'com.facebook.react', module: 'react-native-webrtc'
}
于 2021-01-29T20:24:25.357 回答