I am developing an App in Android. It has to be able of take a photo, and to send that photo to a webpage. This is the code:
HttpClient httpclient = new Defa
I had a few issues with this today:
a) I had all the jar files to the libs directory and went right click on Project > Build Path > Add external jars > selected the jar files. Then went "order and export", still got the issue. b) Turns out that httpclient-4.3.1.jar and httpmime-4.3.1.jar weren't enough. I needed to add httpcore-4.3.jar as well.
That got rid of the error! :D I have spent nearly 4 hours today trying to fix this :(