java.lang.NoSuchMethodError: No static method setElevation(Landroid/view/View;F)V in class Landroid/support/v4/view/ViewCompat; or its super classes (declaration of 'android.support.v4.view.ViewCompat' appears in /data/app/b4a.example-2/base.apk)

b4x.com | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Android Question - Materialcircleprogress v1.0.1 problem | B4X Community - Android, iOS, desktop, server and IoT programming tools

    b4x.com | 6 months ago
    java.lang.NoSuchMethodError: No static method setElevation(Landroid/view/View;F)V in class Landroid/support/v4/view/ViewCompat; or its super classes (declaration of 'android.support.v4.view.ViewCompat' appears in /data/app/b4a.example-2/base.apk)

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      No static method setElevation(Landroid/view/View;F)V in class Landroid/support/v4/view/ViewCompat; or its super classes (declaration of 'android.support.v4.view.ViewCompat' appears in /data/app/b4a.example-2/base.apk)

      at com.github.widget.materialloadingprogressbar.CircleProgressBar.onLayout()
    2. com.github.widget
      CircleProgressBar.onLayout
      1. com.github.widget.materialloadingprogressbar.CircleProgressBar.onLayout(CircleProgressBar.java:191)
      1 frame
    3. Android Platform
      View.layout
      1. android.view.View.layout(View.java:15614)
      1 frame
    4. anywheresoftware.b4a
      BALayout.onLayout
      1. anywheresoftware.b4a.BALayout.onLayout(BALayout.java:43)
      1 frame
    5. Android Platform
      ViewGroup.layout
      1. android.view.View.layout(View.java:15614)
      2. android.view.ViewGroup.layout(ViewGroup.java:4968)
      3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)
      4. android.widget.FrameLayout.onLayout(FrameLayout.java:508)
      5. android.view.View.layout(View.java:15614)
      6. android.view.ViewGroup.layout(ViewGroup.java:4968)
      6 frames
    6. Android
      ActionBarOverlayLayout.onLayout
      1. com.android.internal.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:494)
      1 frame
    7. Android Platform
      ActivityThread.main
      1. android.view.View.layout(View.java:15614)
      2. android.view.ViewGroup.layout(ViewGroup.java:4968)
      3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)
      4. android.widget.FrameLayout.onLayout(FrameLayout.java:508)
      5. android.view.View.layout(View.java:15614)
      6. android.view.ViewGroup.layout(ViewGroup.java:4968)
      7. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2102)
      8. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1859)
      9. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1077)
      10. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5884)
      11. android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)
      12. android.view.Choreographer.doCallbacks(Choreographer.java:580)
      13. android.view.Choreographer.doFrame(Choreographer.java:550)
      14. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)
      15. android.os.Handler.handleCallback(Handler.java:739)
      16. android.os.Handler.dispatchMessage(Handler.java:95)
      17. android.os.Looper.loop(Looper.java:135)
      18. android.app.ActivityThread.main(ActivityThread.java:5312)
      18 frames
    8. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    9. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:901)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:696)
      2 frames