I\'m having problems with Android Studio. I recently upgraded my SDK Manager to include;
compile \'com.android.support.constraint:constraint-layout:1.0.0-bet
I don't know if this was solution 2 and half years ago, but today i had similar error. Found the answer right here: Error inflating class androidx.constraintlayout.ConstraintLayout after migration to androidx
Basically only xml tags of constraint layout should be renamed to these ->
androidx.constraintlayout.widget.ConstraintLayout