Android libraries not found

后端 未结 8 1289
失恋的感觉
失恋的感觉 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: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.

提交回复
热议问题