After migrating to Androidx packages using Android Studio menu option Refactor -> Refactor to Androidx...
my build.gradle looks like
implementation 'androidx.appcompat:appcompat:1.1.0-alpha01'
implementation 'com.google.android.material:material:1.1.0-alpha01'
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha2'
During run the app, I run into this:
Didn't find class "androidx.core.widget.DrawerLayout"
It seems the migration tool has same issues
I was able to solve it by Just replace
androidx.core.widget.DrawerLayout
with
androidx.drawerlayout.widget.DrawerLayout
in every place where it appears.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With