Skip to content

java.lang.NoSuchMethodError: No static method consume()V in class EntityUtils #48

@bigboss97

Description

@bigboss97

I’m using Processing 3.5.4 on Windows 10. I’ve created a script using HTTP Requests library. Everything works fine.
Now I’m trying to run the script on my Android phone with APDE v0.5.1. I've installed httprequests_processing.zip and receive following error. Any advice?

Thread-8686(ApacheHTTPLog):Reading from variable values from setDefaultValuesToVariables
Thread-8686(ApacheHTTPLog):isSBSettingEnabled false
Thread-8686(ApacheHTTPLog):isShipBuild true
Thread-8686(ApacheHTTPLog):getDebugLevel 0x4f4c
Thread-8686(ApacheHTTPLog):Smart Bonding Setting is false
Thread-8686(ApacheHTTPLog):SmartBonding Setting is false, SHIP_BUILD is true, log to file is false, DBG is false, DEBUG_LEVEL (1-LOW, 2-MID, 3-HIGH) is 1
Animation Thread calls detatch()
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.jar)
	at http.requests.PostRequest.send(Unknown Source:209)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions