注:该方法只适用于引入了多个同类型不同版本的jar包
Android有时候引入jar包会出现各种冲突,出现了问题不要烦躁,也不是什么大的问题
下面就是出现错误的提示:

Duplicate class org.apache.http.client.fluent.Async found in modules fluent-hc-4.2.5.jar (fluent-hc-4.2.5.jar) and fluent-hc-4.5.10.jar (fluent-hc-4.5.10.jar)Duplicate class org.apache.http.client.fluent.Async$ExecRunnable found in modules fluent-hc-4.2.5.jar (fluent-hc-4.2.5.jar) and fluent-hc-4.5.10.jar (fluent-hc-4.5.10.jar)Duplicate class org.apache.http.client.fluent.Content found in modules fluent-hc-4.2.5.jar (fluent-hc-4.2.5.jar) and fluent-hc-4.5.10.jar (fluent-hc-4.5.10.jar)Duplicate class org.apache.http.client.fluent.ContentResponseHandler found in modules fluent-hc-4.2.5.jar (fluent-hc-4.2.5.jar) and fluent-hc-4.5.10.jar (fluent-hc-4.5.10.jar)Duplicate class org.apache.http.client.fluent.Executor found in modules fluent-hc-4.2.5.jar (fluent-hc-4.2.5.jar) and fluent-hc-4.5.10.jar (fluent-hc-4.5.10.jar)Duplicate class org.apache.http.client.fluent.Form found in modules fluent-hc-4.2.5.jar (fluent-hc-4.2.5.jar) and fluent-hc-4.5.10.jar (fluent-hc-4.5.10.jar)Duplicate class org.apache.http.client.fluent.HttpHeader found in modules fluent-hc-4.2.5.jar (fluent-hc-4.2.5.jar) and fluent-hc-4.5.10.jar (fluent-hc-4.5.10.jar)Duplicate class org.apache.http.client.fluent.Request found in modules fluent-hc-4.2.5.jar (fluent-hc-4.2.5.jar) and fluent-hc-4.5.10.jar (fluent-hc-4.5.10.jar)Duplicate class org.apache.http.client.fluent.Response found in modules fluent-hc-4.2.5.jar (fluent-hc-4.2.5.jar) and fluent-hc-4.5.10.jar (fluent-hc-4.5.10.jar)Duplicate class org.apache.http.entity.mime.AbstractMultipartForm found in modules httpmime-4.3.4.jar (httpmime-4.3.4.jar) and httpmime-4.5.10.jar (httpmime-4.5.10.jar)Duplicate class org.apache.http.entity.mime.FormBodyPart found in modules httpmime-4.3.4.jar (httpmime-4.3.4.jar) and httpmime-4.5.10.jar (httpmime-4.5.10.jar)Duplicate class org.apache.http.entity.mime.Header found in modules httpmime-4.3.4.jar (httpmime-4.3.4.jar) and httpmime-4.5.10.jar (httpmime-4.5.10.jar)Duplicate class org.apache.http.entity.mime.HttpBrowserCompatibleMultipart found in modules httpmime-4.3.4.jar (httpmime-4.3.4.jar) and httpmime-4.5.10.jar (httpmime-4.5.10.jar)Duplicate class org.apache.http.entity.mime.HttpMultipart found in modules httpmime-4.3.4.jar (httpmime-4.3.4.jar) and httpmime-4.5.10.jar (httpmime-4.5.10.jar)Duplicate class org.apache.http.entity.mime.HttpMultipart$1 found in modules httpmime-4.3.4.jar (httpmime-4.3.4.jar) and httpmime-4.5.10.jar (httpmime-4.5.10.jar)Duplicate class org.apache.http.entity.mime.HttpMultipartMode found in modules httpmime-4.3.4.jar (httpmime-4.3.4.jar) and httpmime-4.5.10.jar (httpmime-4.5.10.jar)Duplicate class org.apache.http.entity.mime.HttpRFC6532Multipart found in modules httpmime-4.3.4.jar (httpmime-4.3.4.jar) and httpmime-4.5.10.jar (httpmime-4.5.10.jar)Duplicate class org.apache.http.entity.mime.HttpStrictMultipart found in modules httpmime-4.3.4.jar (httpmime-4.3.4.jar) and httpmime-4.5.10.jar (httpmime-4.5.10.jar)Duplicate class org.apache.http.entity.mime.MIME found in modules httpmime-4.3.4.jar (httpmime-4.3.4.jar) and httpmime-4.5.10.jar (httpmime-4.5.10.jar)Duplicate class org.apache.http.entity.mime.MinimalField found in modules httpmime-4.3.4.jar (httpmime-4.3.4.jar) and httpmime-4.5.10.jar (httpmime-4.5.10.jar)Duplicate class org.apache.http.entity.mime.MultipartEntity found in modules httpmime-4.3.4.jar (httpmime-4.3.4.jar) and httpmime-4.5.10.jar (httpmime-4.5.10.jar)Duplicate class org.apache.http.entity.mime.MultipartEntityBuilder found in modules httpmime-4.3.4.jar (httpmime-4.3.4.jar) and httpmime-4.5.10.jar (httpmime-4.5.10.jar)Duplicate class org.apache.http.entity.mime.MultipartEntityBuilder$1 found in modules httpmime-4.3.4.jar (httpmime-4.3.4.jar) and httpmime-4.5.10.jar (httpmime-4.5.10.jar)

解决方法:
1、看提示

Duplicate class org.apache.http.client.fluent.Async found in modules fluent-hc-4.2.5.jar (fluent-hc-4.2.5.jar) and fluent-hc-4.5.10.jar (fluent-hc-4.5.10.jar)

这一段话的意思是,fluent-hc-4.2.5.jar和fluent-hc-4.5.10.jar发生了冲突
2、随便删除其中一个,问题解决

更多相关文章

  1. android studio运行项目安装到手机上失败,提示The application co
  2. Android判断权限被限制
  3. Android用户输入自动提示控件AutoCompleteTextView使用方法
  4. Android用于提示等待的ProgressDialog
  5. 如何卸载Eclipse中ArcGIS for Android的旧版本?
  6. MAC android studio 新建hollowerd 提示:install bool 19.1.0解决
  7. 使用gradle打包android工程中出现的问题
  8. android eclipse NDK 测试hello-jni ,HelloJni/jni/hello-jni.c提
  9. cordova build android提示No installed build tools found的解

随机推荐

  1. Android 实现简单的刮刮乐
  2. Android(安卓)icon 不同屏幕下尺寸
  3. Android修改默认打开WLAN随时都可扫描
  4. 解决Android Studio报的警告:Resource IDs
  5. Android 限制EditText输入小数点后面位数
  6. Android中ProgressBar用法简单实例
  7. Android获取字体高度和设置行高
  8. android binder机制之——(创建binder服务
  9. android 5.0后矢量图形
  10. android中sqlite的使用