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
- error: package org.apache.http.entity.mime does not exist
- error:cannot find symbol class MultipartEntity
- error: cannot find symbol class HttpMultipartMode
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.
First copy your library in libs folder and then add this dependency in build.gradle:
Step wise
One more thing, check for proxy connection if you are using it.