title: Duplicate class org.apache.http.HttpHeaders found in modules
body: <p>After updating my Android Studio to 3.5 version. I'm getting error this error:</p>
  
  <pre><code>Duplicate class org.apache.http.Consts found in modules
          httpclient-android-4.3.5.1.jar
          (org.apache.httpcomponents:httpclient-android:4.3.5.1) and
          httpcore-4.3.2.jar (org.apache.httpcomponents:httpcore:4.3.2)
          Duplicate class org.apache.http.ContentTooLongException found in
  modules httpclient-android-4.3.5.1.jar
          (org.apache.httpcomponents:httpclient-android:4.3.5.1) and
          httpcore-4.3.2.jar (org.apache.httpcomponents:httpcore:4.3.2)
          Duplicate class org.apache.http.HttpConnectionFactory found in modules
          httpclient-android-4.3.5.1.jar
          (org.apache.httpcomponents:httpclient-android:4.3.5.1) and
          httpcore-4.3.2.jar (org.apache.httpcomponents:httpcore:4.3.2)
          Duplicate class org.apache.http.HttpHeaders found in modules
          httpclient-android-4.3.5.1.jar
          (org.apache.httpcomponents:httpclient-android:4.3.5.1) and
          httpcore-4.3.2.jar (org.apache.httpcomponents:httpcore:4.3.2)
          Duplicate class org.apache.http.MessageConstraintException found in
  modules httpclient-android-4.3.5.1.jar
          (org.apache.httpcomponents:httpclient-android:4.3.5.1) and
          httpcore-4.3.2.jar (org.apache.httpcomponents:httpcore:4.3.2)
          Duplicate class org.apache.http.TruncatedChunkException found in
  modules httpclient-android-4.3.5.1.jar
          (org.apache.httpcomponents:httpclient-android:4.3.5.1) and
          httpcore-4.3.2.jar (org.apache.httpcomponents:httpcore:4.3.2)
          Duplicate class org.apache.http.annotation.GuardedBy found in modules
          httpclient-android-4.3.5.1.jar
          (org.apache.httpcomponents:httpclient-android:4.3.5.1) and
          httpcore-4.3.2.jar (org.apache.httpcomponents:httpcore:4.3.2)
          Duplicate class org.apache.http.annotation.Immutable found in modules
          httpclient-android-4.3.5.1.jar
          (org.apache.httpcomponents:httpclient-android:4.3.5.1) and
          httpcore-4.3.2.jar (org.apache.httpcomponents:httpcore:4.3.2)
  </code></pre>