Hi, guys!
I’m trying to use a sdk inside my project but what I get is an error:
“java.lang.NoClassDefFoundError: org/apache/http/auth/Credentials”.
I think gradle is supposed to install all dependecies of some library/sdk, like NodeJS does, right? Anyone had this error before and can help me on how to solve it?
If you want to include a library inside your app, then you will need to do include
for the dependency. Like:
dependencies {
include '...'
}
Did that, and it doesn’t worked. The unique solution was to download the jar and put it on the “lib” folder.