After migration to AndroidX i have the following exception at startup:
LoadedApk: Unable to instantiate appComponentFactory java.lang.ClassNotFoundExcept
Looks CoreComponentFactory class is getting encrypted. Try adding the above class to proguard-rules.
CoreComponentFactory
-keep class androidx.core.app.CoreComponentFactory { *; }
So the CoreComponentFactory won't be the encrypted anymore.