I was trying to import my flutter app into Android Studio to migrate to Androidx, not sure if these are the correct steps:
While trying to migrate to Androidx, I received an Unresolved Dependecies error stating that:
ERROR: Failed to resolve: androidx.legacy:legacy-support-v4:27.1.1
Show in Project Structure dialog
Affected Modules: app
I couldn't find out where is this androidx.legacy:legacy-support-v4:27.1.1 located. I've tried implementing the Androidx build artifact, not working at all.
I was able to migrate flutter project to support AndroidX without having to use Android studio.
Here's what I did..
compileSdkVersion in build.gradle file to 28android.useAndroidX=true and android.enableJetifier=true in gradle.propertiesTry this approach if all you want to do is migrate to AndroidX
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