Android 运行报错:Circular dependencies cannot exist in RelativeLayout

Android 运行崩溃闪退并在日志报错:
Circular dependencies cannot exist in RelativeLayout

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

原因有两个:
一是因为有重名的组件
二是因为组件布局问题(组件布局冲突)
点击查看布局冲突情况
详细检查是否存在这两个问题即可解决。

猜你喜欢

转载自blog.csdn.net/Qingshan_z/article/details/126976291