Today I want to use this API, how can not find. Waste a lot of time ...
Check the information to know the following explanation:
In Android 6.0 (API 23), Google has removed the removal of Apache HttpClient related classes recommended to use HttpURLConnection, if you want to continue to use Apache HttpClient, Need to add org.apache.http.legacy.jar,android Studio in Eclipse Libs under the corresponding module Build.gradle: android {uselibrary ' Org.apache.http.legacy '} above the jar package under: **\android-sdk-windows\platforms\android-23\optional (need to download Android 6.0 SDK) also removes the Setlatesteventinfo method for SSL and notification
Look at my API is 23, can not find this API is normal ...
After all, this API post is cumbersome, in fact, mastering httpconnection is enough.
Android:android SDK Source Code of why there is no httpclient source