Android项目使用的HttpClient 4.5

编程入门 行业动态 更新时间:2024-10-27 00:28:53
本文介绍了Android项目使用的HttpClient 4.5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想使用Apache的HttpClient 4.5,太行

I would like to use Apache HttpClient 4.5, so the line

compile 'org.apache.httpcomponents:httpclient:4.5'

在我build.gradle增加,和我在摇篮控制台以下

is added in my build.gradle, and I get the following in Gradle Console

Configuration on demand is an incubating feature. WARNING: Dependency org.apache.httpcomponents:httpclient:4.5 is ignored for debug as it may be conflicting with the internal version provided by Android. In case of problem, please repackage it with jarjar to change the class packages

我想知道是什么问题,我怎么能解决这个问题。谢谢^^

I would like to know what is the problem and how could I solve it. Thanks^^

推荐答案

转到阿帕奇,我已经找到了他们的Andr​​oid使用HttpClient的为Android 4.3.5。我的项目中使用这些JAR文件作为库(在摇篮不编译)。您可以尝试下载这里。希望这有助于!

Go to Apache, I have found for Android they use HttpClient for Android 4.3.5. My projects use these Jar files as library (not compiled in gradle). You can try download here. Hope this help!

更多推荐

Android项目使用的HttpClient 4.5

本文发布于:2023-11-13 01:15:17,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1583004.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:项目   Android   HttpClient

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!