Android libraries not found

后端 未结 8 1281
失恋的感觉
失恋的感觉 2020-12-09 10:37

In my android project I am writing a program to connect to a server and below are the libraries that I need to use.

But I get an error saying the following cannot b

相关标签:
8条回答
  • 2020-12-09 11:21

    Download the JAR file "httpmime-4.0-beta2.jar" and add it to your project

    0 讨论(0)
  • 2020-12-09 11:27

    Add
    compile files('libs/httpcore-4.3.2.jar')
    compile files('libs/httpmime-4.3.4.jar') to your build.gradle.

    Before that download .jar from http://mvnrepository.com/artifact/org.apache.httpcomponents/httpcore/ http://mvnrepository.com/artifact/org.apache.httpcomponents/httpmime

    and to your apps>lib folder.

    0 讨论(0)
提交回复
热议问题