After migration to AndroidX, exception at start up: java.lang.ClassNotFoundException: “Didn't find class androidx.core.app.CoreComponentFactory”

后端 未结 3 741
半阙折子戏
半阙折子戏 2020-12-30 01:05

After migration to AndroidX i have the following exception at startup:

LoadedApk: Unable to instantiate appComponentFactory
    java.lang.ClassNotFoundExcept         


        
3条回答
  •  囚心锁ツ
    2020-12-30 01:33

    I hit this error while trying to run a debug android app on an AVD emulator.

    Wiping the data from the emulator (from the AVD Manager) fixed the issue.

提交回复
热议问题