java.lang.NoSuchFieldError: No static field toggle_menu of type I in class Lview_inspector/R$id; or its superclasses (declaration of 'view_inspector.R$id' appears in /data/app/com.unicorn.csp.xcdemo-1/base.apk)

GitHub | Ivolian | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    java.lang.NoSuchFieldError

    GitHub | 2 years ago | Ivolian
    java.lang.NoSuchFieldError: No static field toggle_menu of type I in class Lview_inspector/R$id; or its superclasses (declaration of 'view_inspector.R$id' appears in /data/app/com.unicorn.csp.xcdemo-1/base.apk)

    Root Cause Analysis

    1. java.lang.NoSuchFieldError

      No static field toggle_menu of type I in class Lview_inspector/R$id; or its superclasses (declaration of 'view_inspector.R$id' appears in /data/app/com.unicorn.csp.xcdemo-1/base.apk)

      at view_inspector.ui.ViewInspectorToolbar.onAttachedToWindow()
    2. view_inspector.ui
      ViewInspectorToolbar.onAttachedToWindow
      1. view_inspector.ui.ViewInspectorToolbar.onAttachedToWindow(ViewInspectorToolbar.java:90)
      1 frame
    3. Android Platform
      ActivityThread.main
      1. android.view.View.dispatchAttachedToWindow(View.java:13543)
      2. android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2690)
      3. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1322)
      4. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1084)
      5. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5990)
      6. android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)
      7. android.view.Choreographer.doCallbacks(Choreographer.java:580)
      8. android.view.Choreographer.doFrame(Choreographer.java:550)
      9. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)
      10. android.os.Handler.handleCallback(Handler.java:739)
      11. android.os.Handler.dispatchMessage(Handler.java:95)
      12. android.os.Looper.loop(Looper.java:135)
      13. android.app.ActivityThread.main(ActivityThread.java:5343)
      13 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)
      2 frames