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
Post a Comment