I m implementing an asynchronous HTTP server in Android. I am using the code from link http://hc.apache.org/httpcomponents-core-ga/examples.html (Asynchronous HTTP server).. While compiling it I am getting the following error and application crashes:
java.lang.IncompatibleClassChangeError:org.apache.http.params.SyncBasicHttpParams
in the line
HttpParams params = new SyncBasicHttpParams();
Please let me know the cause and how to resolve it?
I am using the jars from httpcomponents-core-4.3-alpha1.
Thank you!