Android项目迁移到Androidx的问题解决

1. Binary XML file line #2: Error inflating class androidx.core.widget.DrawerLayout

将androidx.core.widget.DrawerLayout替换为androidx.drawerlayout.widget.DrawerLayout

2. Binary XML file line #2: Error inflating class androidx.constraintlayout.ConstraintLayout

将androidx.constraintlayout.ConstraintLayout替换为androidx.constraintlayout.widget.ConstraintLayout

Android项目迁移到Androidx的问题解决

上一篇:[85] 左值右值(移动语义前篇)


下一篇:Android布局(FrameLayout、GridLayout)