DrawerLayout in AndroidX is Missing?
you sould replace drawerlayout in xml with below line
androidx.drawerlayout.widget.DrawerLayout
AndroidX has its implementation of DrawerLayout
.
Add implementation "androidx.drawerlayout:drawerlayout:1.0.0"
to your module's dependencies (you can check Google's Maven repository catalog to confirm the available versions).