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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by PersonalHealth
, 1 year ago
Circular dependencies cannot exist in RelativeLayout
via Stack Overflow by Luke Batley
, 2 years ago
Circular dependencies cannot exist in RelativeLayout
via Stack Overflow by Jiazzy user
, 2 years ago
Circular dependencies cannot exist in RelativeLayout
via Stack Overflow by scb998
, 2 years ago
Circular dependencies cannot exist in RelativeLayout
via Stack Overflow by user944513
, 2 years ago
Circular dependencies cannot exist in RelativeLayout
via Stack Overflow by Sven Menschner
, 2 years ago
java.lang.IllegalStateException: Circular dependencies cannot exist in RelativeLayout
at android.widget.RelativeLayout$DependencyGraph.getSortedViews(RelativeLayout.java:1704)
at android.widget.RelativeLayout.sortChildren(RelativeLayout.java:382)
at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:390)
at android.view.View.measure(View.java:17951)
at android.widget.ScrollView.measureChildWithMargins(ScrollView.java:1269)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:436)
at android.widget.ScrollView.onMeasure(ScrollView.java:338)

Users with the same issue

2 times, 1 year ago
8 times, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.