1

I gone through all the post and Add the line,

 useLibrary 'org.apache.http.legacy' 

in app build.gradle and changed the

 dependencies {
     classpath 'com.android.tools.build:gradle:1.3.0'
 }

But still it is not importing! can any one suggest me what i'm missing here?

Praneeth
  • 1,260
  • 18
  • 37

1 Answers1

4

Download jar file HttpClient.jar.Then add into lib folder on your project.Then fix the path on settings

 File -> Project Structure -> Dependencies -> Add -> File Dependency 

Android Studio opens a dialog box where you can drag&drop the jar library. Then click the OK button.

sasikumar
  • 12,540
  • 3
  • 28
  • 48