sps / pushover4j

pushover.net client
Apache License 2.0
35 stars 28 forks source link

java.lang.NoSuchMethodError: org.apache.http.client.entity.UrlEncodedFormEntity. #4

Open paulisme opened 10 years ago

paulisme commented 10 years ago

I'm using Gradle in Android Studio to pull in pushover4j but get this runtime error when calling pushMessage:

java.lang.NoSuchMethodError: org.apache.http.client.entity.UrlEncodedFormEntity.

Any ideas?

sps commented 10 years ago

I have a hunch that you have multiple versions of apache httpclient on your classpath. This project currently relies on org.apache.httpcomponents:httpclient 4.2.1