【问题标题】:Motion Editor showed "Version ConstraintLayout library must be version 2.0.0 beta 3 or later" in android Studio 4.0.1 and constraintLayout 2.0.0Motion Editor 在 android Studio 4.0.1 和 constraintLayout 2.0.0 中显示“版本 ConstraintLayout 库必须是 2.0.0 beta 3 或更高版本”
【发布时间】:2026-01-20 15:05:02
【问题描述】:

我已经阅读了这个问题,但它没有帮助 Motion editor not working in Android studio 4.0.1

这是我使用的依赖项

androidx.constraintlayout:constraintlayout:2.0.0

而我的android studio版本是4.0.1

当我重新启动 Android Studio 时,它正确显示了运动编辑器,但是当我尝试编辑它时,我收到了这个错误“版本约束布局库必须是版本 2.0.0 beta 3 或更高版本”

【问题讨论】:

    标签: android android-studio android-motionlayout


    【解决方案1】:

    只需将库升级到版本 2.0.1。

    【讨论】:

    • 当我升级版本然后重新启动AS时,它可以工作:)