Reputation: 87
I am trying to add external libraries(httpmime-4.0-sources.jar) to android project irked by the fact that android-studio is popping up errors like
I need help.
As a practice I copied the jar file to the lib folder and added that as a library. But the error does not go away.
Upvotes: 5
Views: 9590
Reputation: 1801
Step wise
One more thing, check for proxy connection if you are using it.
Upvotes: 13
Reputation: 2322
First copy your library in libs folder and then add this dependency in build.gradle:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
......
}
Upvotes: 10