java.lang.IllegalStateException: Circular dependencies cannot exist in RelativeLayout

Stack Overflow | PersonalHealth | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    What causes Circular dependencies cannot exist in RelativeLayout in Android?

    Stack Overflow | 6 months ago | PersonalHealth
    java.lang.IllegalStateException: Circular dependencies cannot exist in RelativeLayout

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Circular dependencies cannot exist in RelativeLayout

      at android.widget.RelativeLayout$DependencyGraph.getSortedViews()
    2. Android Platform
      ScrollView.onMeasure
      1. android.widget.RelativeLayout$DependencyGraph.getSortedViews(RelativeLayout.java:1704)
      2. android.widget.RelativeLayout.sortChildren(RelativeLayout.java:382)
      3. android.widget.RelativeLayout.onMeasure(RelativeLayout.java:390)
      4. android.view.View.measure(View.java:17951)
      5. android.widget.ScrollView.measureChildWithMargins(ScrollView.java:1269)
      6. android.widget.FrameLayout.onMeasure(FrameLayout.java:436)
      7. android.widget.ScrollView.onMeasure(ScrollView.java:338)
      7 frames