java.lang.IllegalStateException: View can not be anchored to the the parent CoordinatorLayout

Stack Overflow | Jason | 5 months ago
  1. 0

    You need to use a Theme.AppCompat theme (or descendant) with this activity (not solved via stackoverflow)

    Stack Overflow | 5 months ago | Jason
    java.lang.IllegalStateException: View can not be anchored to the the parent CoordinatorLayout
  2. 0

    View can not be anchored to the the parent CoordinatorLayout

    Stack Overflow | 9 months ago | farzaneh
    java.lang.IllegalStateException: View can not be anchored to the the parent CoordinatorLayout
  3. 0

    java.lang.IllegalStateException: Could not find CoordinatorLayout descendant

    Stack Overflow | 8 months ago | user5669913
    java.lang.IllegalStateException: Could not find CoordinatorLayout descendant view with id com.example.siddhi.googletaskmanager:id/parentPanel to anchor view android.widget.LinearLayout{ea48680 V.E..... ......I. 0,0-0,0}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Crash when apply ripple builder on view holder

    GitHub | 2 years ago | cbedoy
    java.lang.IllegalStateException: MaterialRippleLayout could not be created: parent of the view already is a MaterialRippleLayout
  6. 0

    IllegalStateException: DialogFragment can not be attached to a container view - (in ActionBarActivity)

    Stack Overflow | 3 years ago | salcosand
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ExampleActivity}: java.lang.IllegalStateException: DialogFragment can not be attached to a container view

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      View can not be anchored to the the parent CoordinatorLayout

      at android.support.design.widget.CoordinatorLayout$LayoutParams.resolveAnchorView()
    2. android.support.design
      CoordinatorLayout.onMeasure
      1. android.support.design.widget.CoordinatorLayout$LayoutParams.resolveAnchorView(CoordinatorLayout.java:2526)
      2. android.support.design.widget.CoordinatorLayout$LayoutParams.findAnchorView(CoordinatorLayout.java:2495)
      3. android.support.design.widget.CoordinatorLayout.prepareChildren(CoordinatorLayout.java:623)
      4. android.support.design.widget.CoordinatorLayout.onMeasure(CoordinatorLayout.java:674)
      4 frames
    3. Android Platform
      FrameLayout.onMeasure
      1. android.view.View.measure(View.java:17547)
      2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5535)
      3. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1436)
      4. android.widget.LinearLayout.measureVertical(LinearLayout.java:722)
      5. android.widget.LinearLayout.onMeasure(LinearLayout.java:613)
      6. android.view.View.measure(View.java:17547)
      7. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5535)
      8. android.widget.FrameLayout.onMeasure(FrameLayout.java:436)
      8 frames
    4. Android v7
      ContentFrameLayout.onMeasure
      1. android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:135)
      1 frame
    5. Android Platform
      FrameLayout.onMeasure
      1. android.view.View.measure(View.java:17547)
      2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5535)
      3. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1436)
      4. android.widget.LinearLayout.measureVertical(LinearLayout.java:722)
      5. android.widget.LinearLayout.onMeasure(LinearLayout.java:613)
      6. android.view.View.measure(View.java:17547)
      7. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5535)
      8. android.widget.FrameLayout.onMeasure(FrameLayout.java:436)
      9. android.view.View.measure(View.java:17547)
      10. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5535)
      11. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1436)
      12. android.widget.LinearLayout.measureVertical(LinearLayout.java:722)
      13. android.widget.LinearLayout.onMeasure(LinearLayout.java:613)
      14. android.view.View.measure(View.java:17547)
      15. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5535)
      16. android.widget.FrameLayout.onMeasure(FrameLayout.java:436)
      16 frames
    6. Android
      PhoneWindow$DecorView.onMeasure
      1. com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2615)
      1 frame
    7. Android Platform
      ActivityThread.main
      1. android.view.View.measure(View.java:17547)
      2. android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2015)
      3. android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1173)
      4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1379)
      5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1061)
      6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5885)
      7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)
      8. android.view.Choreographer.doCallbacks(Choreographer.java:580)
      9. android.view.Choreographer.doFrame(Choreographer.java:550)
      10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)
      11. android.os.Handler.handleCallback(Handler.java:739)
      12. android.os.Handler.dispatchMessage(Handler.java:95)
      13. android.os.Looper.loop(Looper.java:135)
      14. android.app.ActivityThread.main(ActivityThread.java:5254)
      14 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:903)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
      2 frames