Remove apache http client dependence in android SDK

android

#1

https://developer.android.com/preview/behavior-changes.html#behavior-apache-http-client apache http client removed from the Android M, Please use OKHttp or other things !


#2

Hey Goo_dev,

Thanks for escalating this. I’ll work with the team regarding this change from Android.

Thanks!


#3

Until this is changed, it is possible to add this line to your gradle build file.

android {
useLibrary ‘org.apache.http.legacy’
}

This will include apache as a temporary solution but should not be seen as a permanent solution. See this link