I\'m using \'androidx.multidex:multidex:2.0.0\'
and I\'m pointing to the MultiDexApplication class from the manifest using:
Use the multiDexKeepFile option to require that MultiDexApplication
ends up in the main dex file.
I had the same issue after migrating to AndroidX, though the application class in question was our custom Application class. I tried to clean the project from Android Studio but that didn't work, so eventually I manually removed all the build folders and for good measure did "Invalidate caches and restart" for Android studio as well and that seems to have done the trick for me at least.