java.lang.NoSuchMethodError: android.support.v7.widget.Toolbar.setElevation

GitHub | nachowski | 1 year 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

    Call to setElevation() causes crash with NoSuchMethodError on 4.x devices

    GitHub | 1 year ago | nachowski
    java.lang.NoSuchMethodError: android.support.v7.widget.Toolbar.setElevation

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      android.support.v7.widget.Toolbar.setElevation

      at com.usabilla.sdk.ubform.ui.FeedbackFormActivity.addMainView()
    2. com.usabilla.sdk
      FeedbackFormActivity.addMainView
      1. com.usabilla.sdk.ubform.ui.FeedbackFormActivity.addMainView(SourceFile:1130)
      1 frame
    3. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5458)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2377)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2471)
      5. android.app.ActivityThread.access$900(ActivityThread.java:175)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1308)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:146)
      9. android.app.ActivityThread.main(ActivityThread.java:5603)
      9 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Method.java)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
      2 frames
    6. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(NativeStart.java)
      1 frame