Error inflating class androidx.constraintlayout.ConstraintLayout after migration to androidx

后端 未结 17 1256
[愿得一人]
[愿得一人] 2020-11-27 14:24

I just made a migration to androidx through Android Studio menu option Refactor -> Refactor to AndroidX

I\'m getting the following

17条回答
  •  一生所求
    2020-11-27 15:11

    I copied and pasted an existing ConstraintLayout tag from the xml, which was causing the issue for me. Simply deleting, and re-adding the ConstraintLayout tags in AndroidStudio from scratch fixed the issue for me.

提交回复
热议问题