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

Stack Overflow | Jason | 6 months ago
  1. 0

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

    Stack Overflow | 6 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 | 10 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 | 9 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
    The application is unable to connect to the database. It could be resolved by configuring access privileges on the database side.
  6. 0
    Execute mvn dependency:tree from your project's root directory.

    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