Android之All children of ConstraintLayout must have ids to use ConstraintSet

1 问题

Fatal Exception: java.lang.RuntimeException: All children of ConstraintLayout must have ids to use ConstraintSet
       at androidx.constraintlayout.widget.ConstraintSet.readFallback(ConstraintSet.java:459)
       at androidx.constraintlayout.motion.widget.MotionScene.readFallback(MotionScene.java:1481)
       at androidx.constraintlayout.motion.widget.MotionLayout.onAttachedToWindow(MotionLayout.java:3473)
       at android.view.View.dispatchAttachedToWindow(View.java:17393)
       at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3322)
       at android.view.ViewGroup.addViewInner(ViewGroup.java:4959)
       at android.view.ViewGroup.addView(ViewGroup.java:4750)
       at androidx.fragment.app.FragmentContainerView.addView(FragmentContainerView.java:280)
       at android.view.ViewGroup.addView(ViewGroup.java:4690)
       at android.view.ViewGroup.addView(ViewGroup.java:4663)
       at androidx.fragment.app.FragmentStateManager.createView(Fra
chen.yu CSDN认证博客专家 博客排名前200
深信服三年半工作经验,目前就职游戏厂商,希望能和大家交流和学习,
微信公众号:编程入门到秃头 或扫描下面二维码

零基础入门进阶人工智能(链接)


已标记关键词 清除标记
相关推荐
©️2020 CSDN 皮肤主题: 猿与汪的秘密 设计师:白松林 返回首页
实付 19.90元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值