Why am I getting error in using HttpClient and DefaultHttpClient though I am using sdk22 ? Can these be replaced with other classes?
Error while using HttpClient and DefaultHttpClient in android sdk 22
Why am I getting error in using HttpClient and DefaultHttpClient though I am using sdk22 ? Can these be replaced with other classes?
Error while using HttpClient and DefaultHttpClient in android sdk 22
you can use legacy httpclient like it's described here
How to add Apache HTTP API (legacy) as compile-time dependency to build.grade for Android M?
or you can download separate apache http client jar and import it in your module dependency
hope it helps.