Android 上的 Apache HttpClient 4.1 [英] Apache HttpClient 4.1 on Android
问题描述
是否有人尝试在 Android 上使用更新版本的 Apache HttpClient?Android 使用的 HttpClient 中存在一个令人讨厌的错误,我想知道在尝试使用我的应用重新分发 HttpClient 4.1 时是否会遇到问题.
Has anyone tried to use a newer version of Apache HttpClient on Android? There's an annoying bug in the HttpClient used by Android and I was wondering if I would run into problems trying to redistribute HttpClient 4.1 with my app.
推荐答案
我创建了一个脚本来将一个股票 HttpClient 版本转换为一个 Android 库项目.包被重命名,以便不会混淆使用哪些类.
I created a script to convert a stock HttpClient release into an Android library project. The packages are renamed so that there's no confusion of which classes are used.
还有 ThreadSafeClientConnManager 和 Scheme 工作得很好.
Also ThreadSafeClientConnManager and Scheme work just fine.
这篇关于Android 上的 Apache HttpClient 4.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!