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 !
Hey Goo_dev,
Thanks for escalating this. I’ll work with the team regarding this change from Android.
Thanks!
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