What version of Apache HttpClient is used in Android 4.2.2 SDK?

人走茶凉 提交于 2020-01-03 08:28:17

问题


What version of Apache HttpClient is used in Android 4.2.2 SDK? I checked https://code.google.com/p/httpclientandroidlib/ but it does not seem correct, reason being AuthCache class is supposed to be in the Android 4.2.2 SDK if it is using the latest HttpClient.


回答1:


What version of Apache HttpClient is used in Android 4.2.2 SDK?

The same one as has been in every version of Android since the beginning. I think the official number is 4.0-beta-1, or possibly 4.0-beta-2. See https://stackoverflow.com/a/4818714/115145 for more.

https://code.google.com/p/httpclientandroidlib/ is a refactoring of HttpClient into a new package (ch.boye.httpclientandroidlib), to allow for it to exist in your VM at the same time as Android's older version of HttpClient.



来源:https://stackoverflow.com/questions/15658678/what-version-of-apache-httpclient-is-used-in-android-4-2-2-sdk

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!