I'm facing a strange issue On android studio. I'm using apache libraries for make some http request, and i need to change
org.apache.http.impl.client.DefaultHttpClient;
that is deprecated with
org.apache.http.impl.client.HttpClientBuilder;
but android studio don't find that package. How can i do?
Add to build.gradle
and sync
compile group: 'org.apache.httpcomponents' , name: 'httpclient-android' , version: '4.3.5'
compile group: 'org.apache.httpcomponents' , name: 'httpclient-android' , version: '4.3.5.1'
4.3.5.1 is the latest version :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With