title: How to exclude a Jar file from the gradle dependancy in android project
body: <p>I am developing an android application in which I am using two gradle dependency  and both gradle dependency has <strong><code>libwebrtc.jar</code></strong> with different version so I want to exclude <code>libwebrtc.jar</code> from one of the dependency</p>
  
  <pre><code>dependencies {
   implementation 'com.twilio:video-android:3.2.1'
   implementation project(":webrtc-android-framework")
  }
  </code></pre>
  
  <p>This two dependancy has <code>libwebrtc.jar</code> file with different version if I am remove the <code>libwebrtc.jar</code> file from the <code>webrtc-android-framework</code> module then some classes is not found so I can't remove the jar file so I want to exclude the <code>libwebrtc.jar</code> file from the <code>com.twilio:video-android:3.2.1</code> dependancy</p>
  
  <p>I am getting below error when build the application</p>
  
  <blockquote>
    <p>Error: Program type already present: <code>org.webrtc.BaseBitrateAdjuster</code></p>
  </blockquote>