Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

org.apache.http.* not found in class XirSysRequest #24

Open
eduardofamendes opened this issue Dec 19, 2017 · 2 comments
Open

org.apache.http.* not found in class XirSysRequest #24

eduardofamendes opened this issue Dec 19, 2017 · 2 comments

Comments

@eduardofamendes
Copy link

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
Copy link

add this:
useLibrary 'org.apache.http.legacy'
to the app/build.gradle file into 'android' section

@eduardofamendes
Copy link
Author

eduardofamendes commented Feb 5, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants