Duplicate WebRTC class in android -
i'm getting these errors in android app , here logcat.
> error:execution failed task > ':android:transformclasseswithjarmergingfordebug'. > com.android.build.api.transform.transformexception: java.util.zip.zipexception: duplicate entry: > org/webrtc/voiceengine/webrtcaudiorecord.class
i trying integrate second webrtc android app, have integrated tokbox jar in project , i'm trying put vsee sdk in app well, i'm guessing both have webrtc libraries so, i'm getting duplicate error i'm unable finding way exclude 1 of fix duplicate error.
so far tried add on app's gradle build.
> exclude group: 'org.webrtc'
but it's not working, can me this? in advance!
i got same error. turnd out, in case, written: "duplicate". had same "compile" line on "build.gradle" - "dependencies". there, error started jump after upgraded android studio (2.2) , gradle version ('classpath 'com.android.tools.build:gradle:2.2.0')
i removed 1 of duplicate lines , error gone.
Comments
Post a Comment