java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{org.wangchenlong.contentproviderdemo/org.wangchenlong.contentproviderdemo.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "org.wangchenlong.contentproviderdemo.MainActivity" on path: DexPathList[[zip file "/data/app/org.wangchenlong.contentproviderdemo-2.apk"],nativeLibraryDirectories=[/data/app-lib/org.wangchenlong.contentproviderdemo-2, /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

,

A required library class, SdkReceiver, is not loaded. Make sure your SDK classpath is configured correctly in the environment variable or use the -cp or -classpath option if running on the command line, to point to your SDK jar files.

,
via github.io by Unknown author

You need to setup a GlideModule before use Glide.

Solutions on the web

via Stack Overflow by BoBoMEe
, 1 year ago
Unable to instantiate activity ComponentInfo{org.wangchenlong.contentproviderdemo/org.wangchenlong.contentproviderdemo.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "org.wangchenlong.contentproviderdemo.MainActivity" on path
via GitHub by calyth
, 1 year ago
Unable to instantiate activity ComponentInfo{com.SecUpwN.AIMSICD/com.SecUpwN.AIMSICD.AIMSICD}: java.lang.ClassNotFoundException: Didn't find class "com.SecUpwN.AIMSICD.AIMSICD" on path: DexPathList[[zip file "/system/framework
via Stack Overflow by Unknown author, 2 years ago
Unable to instantiate activity ComponentInfo{com.example.myfinaltest/com.example.myfinaltest.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "com.example.myfinaltest.MainActivity" on path: DexPathList[[zip file "/data/app/com.example.myfinaltest-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.example.myfinaltest-2, /vendor/lib, /system/lib]]
via Stack Overflow by user3326293
, 2 years ago
Unable to instantiate activity ComponentInfo{org.nick.nfc.seaccess/org.nick.nfc.seaccess.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "org.nick.nfc.seaccess.MainActivity" on path: DexPathList[[zip file "/system/framework
via Stack Overflow by putty174
, 2 years ago
Unable to instantiate activity ComponentInfo{com.wdi.wdigateway/com.wdi.wdiandroid.LoginActivity}: java.lang.ClassNotFoundException: Didn't find class "com.wdi.wdiandroid.LoginActivity" on path: DexPathList[[zip file "/data/app/com.wdi.wdigateway-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.wdi.wdigateway-2, /vendor/lib, /system/lib]]
via Stack Overflow by Marcos Sartorato
, 1 year ago
Unable to instantiate activity ComponentInfo{com.abaco.a.abrowser/com.abaco.a.abrowser.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "com.abaco.a.abrowser.MainActivity" on path: DexPathList[[zip file "/data/app/com.abaco.a.abrowser-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.abaco.a.abrowser-2, /vendor/lib, /system/lib]]
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{org.wangchenlong.contentproviderdemo/org.wangchenlong.contentproviderdemo.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "org.wangchenlong.contentproviderdemo.MainActivity" on path: DexPathList[[zip file "/data/app/org.wangchenlong.contentproviderdemo-2.apk"],nativeLibraryDirectories=[/data/app-lib/org.wangchenlong.contentproviderdemo-2, /vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
at android.app.Instrumentation.newActivity(Instrumentation.java:1061)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
226 times, 1 year ago

Write tip

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