android - Apache httpClient.execute() NoSuchMethodError - project builds ok, but this happens at runtime? -


a few days ago moved eclipse project 1 folder , set dependencies again.

the project builds , app runs until gets piece of code:

httpresponse httpresponse = httpclient.execute(httppost); 

where error:

caused by: java.lang.nosuchmethoderror: org.apache.http.impl.client.defaulthttpclient.execute 

in libs folder have these jars:

httpclient-4.3.5.jar httpcore-4.3.2.jar httpmime-4.3.5.jar 

and here how order , export looks like:

enter image description here

and libraries tab

enter image description here

edit: thing tried downloading lastest httpcore, httpclient , httpmime , replacing jars in libs folder

and added them add external jars in libraries tab of configure build path

i resolved problem downgrading versions 4.1 or httpcore, httpclient , httpmime.


Comments

Popular posts from this blog

c - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -