Issue with http utils classes in android

0 votes

I am having difficulty http utils classes when I am running my app on android phone. I guess it must be encountered by many prople who are using app42 for android. Any help on how to overcome this issue will be much appreciated. 

 

java.lang.NoSuchMethodError: No static method consume(Lorg/apache/http/HttpEntity;)V in class Lorg/apache/http/util/EntityUtils; or its super classes (declaration of 'org.apache.http.util.EntityUtils' appears in /system/framework/org.apache.http.legacy.boot.jar)
                                                                              at com.shephertz.app42.paas.sdk.java.connection.RESTConnectorAsync.executePost(RESTConnectorAsync.java:134)

asked Feb 21, 2017 in Java by thejassolutions25 (10 points)

1 Answer

0 votes

Hi TheJas,

Greetings from ShepHertz!!!!

Thanks for writing to us.

Many users are successfully using the same and no one is still facing the same problem yet. We need more details so that we can identify why you are facing this issue.

Please share the following details with us.

  • Android Studio version you are using.
  • Android API version on which you are building the Android application.
  • Details about any third party jar file like org.apache.http.legacy.boot.jar, that may contains the same class is same package.
  • build.gradle file.

Let me know the details so that we can trace and solve  the problem.

Thanks

Vishnu Garg

 

 

 

answered Feb 22, 2017 by Vishnu Garg (674 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...