java.lang.NoSuchMethodError: android.view.ViewGroup.isInLayout

GitHub | chuyeoh | 5 months 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.

Root Cause Analysis

  1. java.lang.NoSuchMethodError

    android.view.ViewGroup.isInLayout

    at io.intercom.android.sdk.profile.TeammateProfileToolbarBehavior.onOffsetChanged()
  2. io.intercom.android
    TeammateProfileToolbarBehavior.onOffsetChanged
    1. io.intercom.android.sdk.profile.TeammateProfileToolbarBehavior.onOffsetChanged(TeammateProfileToolbarBehavior.java:141)
    1 frame
  3. android.support.design
    CoordinatorLayout.onLayout
    1. android.support.design.widget.AppBarLayout.dispatchOffsetUpdates(AppBarLayout.java:464)
    2. android.support.design.widget.AppBarLayout.access$800(AppBarLayout.java:104)
    3. android.support.design.widget.AppBarLayout$Behavior.setHeaderTopBottomOffset(AppBarLayout.java:1149)
    4. android.support.design.widget.AppBarLayout$Behavior.setHeaderTopBottomOffset(AppBarLayout.java:755)
    5. android.support.design.widget.HeaderBehavior.setHeaderTopBottomOffset(HeaderBehavior.java:194)
    6. android.support.design.widget.AppBarLayout$Behavior.onLayoutChild(AppBarLayout.java:1048)
    7. android.support.design.widget.AppBarLayout$Behavior.onLayoutChild(AppBarLayout.java:755)
    8. android.support.design.widget.CoordinatorLayout.onLayout(CoordinatorLayout.java:852)
    8 frames
  4. Android Platform
    ActivityThread.main
    1. android.view.View.layout(View.java:13846)
    2. android.view.ViewGroup.layout(ViewGroup.java:4466)
    3. android.widget.RelativeLayout.onLayout(RelativeLayout.java:948)
    4. android.view.View.layout(View.java:13846)
    5. android.view.ViewGroup.layout(ViewGroup.java:4466)
    6. android.widget.FrameLayout.onLayout(FrameLayout.java:448)
    7. android.view.View.layout(View.java:13846)
    8. android.view.ViewGroup.layout(ViewGroup.java:4466)
    9. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1649)
    10. android.widget.LinearLayout.layoutHorizontal(LinearLayout.java:1638)
    11. android.widget.LinearLayout.onLayout(LinearLayout.java:1422)
    12. android.view.View.layout(View.java:13846)
    13. android.view.ViewGroup.layout(ViewGroup.java:4466)
    14. android.widget.FrameLayout.onLayout(FrameLayout.java:448)
    15. android.view.View.layout(View.java:13846)
    16. android.view.ViewGroup.layout(ViewGroup.java:4466)
    17. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1649)
    18. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1507)
    19. android.widget.LinearLayout.onLayout(LinearLayout.java:1420)
    20. android.view.View.layout(View.java:13846)
    21. android.view.ViewGroup.layout(ViewGroup.java:4466)
    22. android.widget.FrameLayout.onLayout(FrameLayout.java:448)
    23. android.view.View.layout(View.java:13846)
    24. android.view.ViewGroup.layout(ViewGroup.java:4466)
    25. android.widget.FrameLayout.onLayout(FrameLayout.java:448)
    26. android.view.View.layout(View.java:13846)
    27. android.view.ViewGroup.layout(ViewGroup.java:4466)
    28. android.widget.FrameLayout.onLayout(FrameLayout.java:448)
    29. android.view.View.layout(View.java:13846)
    30. android.view.ViewGroup.layout(ViewGroup.java:4466)
    31. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2156)
    32. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1914)
    33. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1134)
    34. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4616)
    35. android.view.Choreographer$CallbackRecord.run(Choreographer.java:747)
    36. android.view.Choreographer.doCallbacks(Choreographer.java:567)
    37. android.view.Choreographer.doFrame(Choreographer.java:536)
    38. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:733)
    39. android.os.Handler.handleCallback(Handler.java:615)
    40. android.os.Handler.dispatchMessage(Handler.java:92)
    41. android.os.Looper.loop(Looper.java:153)
    42. android.app.ActivityThread.main(ActivityThread.java:4987)
    42 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Method.java)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:821)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:584)
    2 frames
  7. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(NativeStart.java)
    1 frame