NoClassDefFoundError for code in an Java library on Android

前端 未结 24 1656
梦如初夏
梦如初夏 2020-11-22 15:19

I am experiencing an error quite often among my users. The app crashes during startup. When the MainActivity is supposed to be loaded the VM apparently cannot find the class

24条回答
  •  花落未央
    2020-11-22 16:05

    Other idea. For example, you have class derived from "android.support.v4.app.Fragment".

    However you made a mistake and inherited it from "android.app.Fragment". Then you will have this error on the Android 2 devices.

提交回复
热议问题