java - Can I use a new version of HttpClient in my Android project? -


i need work httpclient 4.2.5 in android project (added classpath). problem @ execution time, android takes default httpclient registered in apis. doesn't have classes , methods, have errors like:

java.lang.nosuchmethoderror: org.apache.http.impl.client.defaulthttpclient.setredirectstrategy

how can fix issue , execution version in classpath , ignore embedded version? tried change order of classpath libraries - didn't work.

you can use httpclientandroidlib. based on httpclient 4.2.3, think it's quite sufficient needs. author of lib bypasses restrictions renaming packages of original httpclient.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -