java.lang.NoSuchMethodError: android.view.MenuItem.getActionView

GitHub | BishopGIS | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Crash on android 2.3.6

    GitHub | 7 months ago | BishopGIS
    java.lang.NoSuchMethodError: android.view.MenuItem.getActionView
  2. 0

    NoSuchMethod exception while creating and formatting .doc file using Apache poi-3.8 beta hwpf

    Stack Overflow | 5 years ago | Kanon
    java.lang.NoSuchMethodError: org.apache.poi.POIDocument. : at org.apache.poi.hwpf.HWPFDocumentCore.(HWPFDocumentCore.java:145) : at org.apache.poi.hwpf.HWPFDocument.(HWPFDocument.java:218) : at org.apache.poi.hwpf.HWPFDocument.(HWPFDocument.java:186) : at com.vikas.prudent.CreateDocument.onCreate(CreateDocument.java:45) : at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) : at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627) : at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679) : at android.app.ActivityThread.access$2300(ActivityThread.java:125) : at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033) : at android.os.Handler.dispatchMessage(Handler.java:99) : at android.os.Looper.loop(Looper.java:123) : at android.app.ActivityThread.main(ActivityThread.java:4627) : at java.lang.reflect.Method.invokeNative(Native Method) : at java.lang.reflect.Method.invoke(Method.java:521) : at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868) : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) :

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      android.view.MenuItem.getActionView

      at com.nextgis.mobile.activity.MainActivity$1.run()
    2. com.nextgis.mobile
      MainActivity$1.run
      1. com.nextgis.mobile.activity.MainActivity$1.run(MainActivity.java:352)
      1 frame
    3. Android Platform
      ActivityThread.main
      1. android.os.Handler.handleCallback(Handler.java:587)
      2. android.os.Handler.dispatchMessage(Handler.java:92)
      3. android.os.Looper.loop(Looper.java:130)
      4. android.app.ActivityThread.main(ActivityThread.java:3687)
      4 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:507)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
      2 frames
    6. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame