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/ext.jar)

Game Development | WeirdElfB0y | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    exceptions - LibGdx - APP42 Cloud API Java SDK - weird crash at insertJSONDocument - Game Development Stack Exchange

    stackexchange.com | 1 year ago
    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/ext.jar)
  2. 0

    LibGdx - APP42 Cloud API Java SDK - weird crash at insertJSONDocument

    Game Development | 2 years ago | WeirdElfB0y
    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/ext.jar)

    Root Cause Analysis

    1. 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/ext.jar)

      at com.shephertz.app42.paas.sdk.java.connection.RESTConnectorAsync.executePost()
    2. com.shephertz.app42
      StorageService.insertJSONDocument
      1. com.shephertz.app42.paas.sdk.java.connection.RESTConnectorAsync.executePost(RESTConnectorAsync.java:134)
      2. com.shephertz.app42.paas.sdk.java.storage.StorageService.insertJSONDocument(StorageService.java:107)
      2 frames
    3. com.myapp.shitapp
      RegistrationScreen$3.changed
      1. com.myapp.shitapp.android.RegistrationScreen$3.changed(RegistrationScreen.java:207)
      1 frame
    4. libGDX Core
      Stage.touchUp
      1. com.badlogic.gdx.scenes.scene2d.utils.ChangeListener.handle(ChangeListener.java:28)
      2. com.badlogic.gdx.scenes.scene2d.Actor.notify(Actor.java:181)
      3. com.badlogic.gdx.scenes.scene2d.Actor.fire(Actor.java:146)
      4. com.badlogic.gdx.scenes.scene2d.ui.Button.setChecked(Button.java:116)
      5. com.badlogic.gdx.scenes.scene2d.ui.Button$1.clicked(Button.java:90)
      6. com.badlogic.gdx.scenes.scene2d.utils.ClickListener.touchUp(ClickListener.java:89)
      7. com.badlogic.gdx.scenes.scene2d.InputListener.handle(InputListener.java:58)
      8. com.badlogic.gdx.scenes.scene2d.Stage.touchUp(Stage.java:348)
      8 frames
    5. libGDX Android Backend
      AndroidGraphics.onDrawFrame
      1. com.badlogic.gdx.backends.android.AndroidInput.processEvents(AndroidInput.java:361)
      2. com.badlogic.gdx.backends.android.AndroidGraphics.onDrawFrame(AndroidGraphics.java:420)
      2 frames
    6. Android Platform
      GLSurfaceView$GLThread.run
      1. android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1522)
      2. android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1239)
      2 frames