I have very similar problem and in my case solution is add in gradle.properties
this two lines:
android.useAndroidX=true
android.enableJetifier=true
I hope it will help.
More Related Contents:
- What is AndroidX?
- Android Studio keeps refusing to resolve com.android.support:appcompat-v7:29.0.1
- Proper implementation of ViewPager2 in Android
- What is Jetifier?
- Change Locale not work after migrate to Androidx
- Manifest merger failed : Attribute application@appComponentFactory – Androidx
- AndroidX:Appcompat I:art error android.view.View$OnUnhandledKeyEventListener
- in androidx.fragment.app.Fragment,setUserVisibleHint()is Deprecated,and not executed,why?
- Flutter Projects & Android X Migration Issues
- Error inflating class androidx.constraintlayout.ConstraintLayout after migration to androidx
- Android FAB icon always black with MaterialComponents theme
- How to set RecyclerView app:layoutManager=”” from XML?
- play-services-ads conflicts with appcompat
- SupportMapFragment does not support AndroidX Fragment
- Crash on Android 10 (InflateException in layout/abc_screen_simple line #17)
- How to add cardview in layout xml in AndroidX
- Find and replace Android studio
- Get current fragment with ViewPager2
- Android Work Manager: “Could not instantiate Worker”
- Error when adding buildFeatures in build.gradle file
- PreferenceFragmentCompat has padding on PreferenceCategory that I can’t get rid of
- Adding gif image in an ImageView in android
- ViewPager with Google Maps API v2: mysterious black view
- When to Register/Unregister Broadcast Receivers created in an activity?
- Android M Camera Intent + permission bug?
- Speed up ‘Navigation Drawer’ animation speed on closing?
- Properly Using AsyncTask get()
- Android/java: Transition / Migration from ProGuard to R8?
- How to clear the Android Stack of activities?
- Putting screen densities into the correct bucket