org.apache.http.* not found in class XirSysRequest
Opened this issue · 2 comments
eduardofamendes commented
None of this imports of XirSysRequest is found:
import org.apache.http.HttpRequest;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.HttpClient;
import org.apache.http.client.entity.UrlEncodedFormEntity;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.impl.client.DefaultHttpClient;
import org.apache.http.message.BasicNameValuePair;
What is the origin?
mslabenyak commented
add this:
useLibrary 'org.apache.http.legacy'
to the app/build.gradle file into 'android' section
eduardofamendes commented
Thank you!
Em 05/02/2018 2:15 da tarde, "mslabenyak" <notifications@github.com>
escreveu:
… add this:
useLibrary 'org.apache.http.legacy'
to the app/build.gradle file into 'android' section
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#24 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHxY8syUidj6JFESv559ZSh3HOoZS1rCks5tRwz-gaJpZM4RGSqB>
.