androidx.constraintlayout.widget.ConstraintLayout时出错

解决方法

1、确保约束布局更新为最新版本

在这里插入图片描述

implementation 'androidx.constraintlayout:constraintlayout:1.1.3'

2、替换您的xml标记名称

在这里插入图片描述

<androidx.constraintlayout.widget.ConstraintLayout>
原创文章 154 获赞 48 访问量 8534

猜你喜欢

转载自blog.csdn.net/weixin_41842236/article/details/106089865