There’s a handy Gradle setting if you are using `Google Play` and try to target API `23` you’ll see `org.apache.http` went missing. This handy Gradle setting brings the legacy packages back.
apply plugin: 'com.android.library' android { compileSdkVersion 23 buildToolsVersion '24.0.1' useLibrary 'org.apache.http.legacy'