本文主要是介绍Circular dependencies cannot exist in RelativeLayout错误解决,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
在android应用程序中保存一下错误:
11-16 13:07:38.560: ERROR/AndroidRuntime(13277): java.lang.IllegalStateException: Circular dependencies cannot exist in RelativeLayout
11-16 13:07:38.560: ERROR/AndroidRuntime(13277): at android.widget.RelativeLayout$DependencyGraph.getSortedViews(RelativeLayout.java:1286)
11-16 13:07:38.560: ERROR/AndroidRuntime(13277): at android.widget.RelativeLayout.sortChildren(RelativeLayout.java:292)
11-16 13:07:38.560: ERROR/AndroidRuntime(13277): at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:314)
11-16 13:07:38.560: ERROR/AndroidRuntime(13277): at android.view.View.measure(View.java:12733)
11-16 13:07:38.560: ERROR/AndroidRuntime(13277): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4698)
11-16 13:07:38.560: ERROR/AndroidRuntime(13277): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1370)
11-16 13:07:38.560: ERROR/AndroidRuntime(13277): at android.widget.LinearLayout.measureHorizontal(LinearLayout.java:1018)
11-16 13:07:38.560: ERROR/AndroidRuntime(13277): at android.widget.LinearLayout.onMeasure(LinearLayout.java:556)
11-16 13:07:38.560: ERROR/AndroidRuntime(13277): at android.view.View.measure(View.java:12733)
这篇关于Circular dependencies cannot exist in RelativeLayout错误解决的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!