java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.activitylifecycletest/com.example.activitylifecycletest.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "com.example.activitylifecycletest.MainActivity" on path: DexPathList[[zip file "/data/app/com.example.activitylifecycletest-1/base.apk"],nativeLibraryDirectories=[/data/app/com.example.activitylifecycletest-1/lib/arm, /vendor/lib, /system/lib]]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via github.io by Unknown author

You need to setup a GlideModule before use Glide.

Solutions on the web

via GitHub by roylin1994
, 1 year ago
Unable to instantiate activity ComponentInfo{com.example.activitylifecycletest/com.example.activitylifecycletest.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "com.example.activitylifecycletest.MainActivity" on path: DexPathList
via Stack Overflow by Stéphane Trelis
, 1 year ago
: DexPathList[[zip file "/data/app/com.example.stephane.myapplication-1/base.apk"],nativeLibraryDirectories=[/data/app/com.example.stephane.myapplication-1/lib/arm, /vendor/lib, /system/lib]]
via GitHub by colbec
, 7 months ago
Unable to instantiate activity ComponentInfo{com.android.example.favoritetoys/com.example.android.favoritetoys.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "com.example.android.favoritetoys.MainActivity" on path: DexPathList
via Stack Overflow by amir_70
, 4 months ago
Unable to instantiate activity ComponentInfo{com.example.android.miwok/com.example.android.miwok.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "com.example.android.miwok.MainActivity" on path: DexPathList[[zip file "/data/app
via Stack Overflow by Avijit
, 7 months ago
Unable to instantiate activity ComponentInfo{com.w3xplorers.cmch/com.w3xplorers.cmch.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "com.w3xplorers.cmch.MainActivity" on path: DexPathList[[zip file "/data/app/com.w3xplorers.cmch
via GitHub by tielei
, 3 months ago
Unable to instantiate activity ComponentInfo{com.ibicha.webrtc/com.ibicha.webrtc.WebRTCActivity}: java.lang.ClassNotFoundException: Didn't find class "com.ibicha.webrtc.WebRTCActivity" on path: DexPathList[[zip file "/data/app/com.ibicha.webrtc-1
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.activitylifecycletest/com.example.activitylifecycletest.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "com.example.activitylifecycletest.MainActivity" on path: DexPathList[[zip file "/data/app/com.example.activitylifecycletest-1/base.apk"],nativeLibraryDirectories=[/data/app/com.example.activitylifecycletest-1/lib/arm, /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)
at android.app.Instrumentation.newActivity(Instrumentation.java:1068)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2324)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2483)
at android.app.ActivityThread.access$900(ActivityThread.java:153)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1349)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5438)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
25 times, 1 year ago
6 times, 4 months ago
Once, 1 year ago
Once, 1 year ago
165 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.