ConstraintLayout Error inflating class code example
Example: Error inflating class android.support.constraint.ConstraintLayout
For those who are switching from android support to androidx,
remember to change
android.support.constraint.ConstraintLayout
to
androidx.constraintlayout.widget.ConstraintLayout