Error inflating class androidx.constraintlayout.widget.ConstraintLayout

前端 未结 12 1090
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-29 18:28

After migrating to Androidx packages using Android Studio menu option Refactor -> Refactor to Androidx...

I\'m getting the following error:

Error inf         


        
12条回答
  •  有刺的猬
    2020-12-29 18:51

    Since the Android Studio is updated to 3.3 it will pop this error. I resolved it by upgrading the version for constraint layout in the build.gradle of the app level:

    implementation 'androidx.constraintlayout:constraintlayout:1.1.2'

    TO

    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'

提交回复
热议问题