java.lang.ClassNotFoundException

com.example.MyClass

Samebug tips1

You need to setup a GlideModule before use Glide.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web1

  • com.example.MyClass
  • Stack trace

    • java.lang.ClassNotFoundException: com.example.MyClass at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:309) at java.lang.Class.forName(Class.java:273) at android.os.Parcel.readParcelableCreator(Parcel.java:2281) at android.os.Parcel.readParcelable(Parcel.java:2245) at android.os.Parcel.readValue(Parcel.java:2152) at android.os.Parcel.readArrayMapInternal(Parcel.java:2485) at android.os.BaseBundle.unparcel(BaseBundle.java:221) at android.os.BaseBundle.getString(BaseBundle.java:918) at android.app.ActivityOptions.<init>(ActivityOptions.java:570) at com.android.server.am.ActivityRecord.<init>(ActivityRecord.java:417) at com.android.server.am.ActivityStackSupervisor.startActivityLocked(ActivityStackSupervisor.java:1482) at com.android.server.am.ActivityStackSupervisor.startActivityMayWait(ActivityStackSupervisor.java:951) at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:3369) at com.android.server.am.ActivityManagerService.startActivity(ActivityManagerService.java:3356) at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:139) at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2208) at android.os.Binder.execTransact(Binder.java:446) Caused by: java.lang.ClassNotFoundException: Didn't find class "com.example.MyClass" on path: DexPathList[[directory "."],nativeLibraryDirectories=[/vendor/lib, /system/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) at java.lang.ClassLoader.loadClass(ClassLoader.java:511) at java.lang.ClassLoader.loadClass(ClassLoader.java:469)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 week ago
    7 times, 1 week ago
    Unknown user
    Once, 1 week ago
    6 times, 2 weeks ago
    Once, 1 month ago
    158 more bugmates