I have a jar file in libs
which uses android.support.v4
and I'm trying to migrate to AndroidX.
Now, Gradle sync fails until I setandroid.enableJetifier=false
.
But if I set this flag to false then I get D8 error
Program type already present: android.support.v4.media.MediaBrowserCompatApi21$MediaItem
What's the right way to solve this migration issue ?