java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{indian.railway.app/indian.railway.app.LaunchActivity}: java.lang.ClassNotFoundException: Didn't find class "indian.railway.app.LaunchActivity" on path: DexPathList[[zip file "/data/app/indian.railway.app-3.apk"],nativeLibraryDirectories=[/data/app-lib/indian.railway.app-3, /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 john
, 1 year ago
Unable to instantiate activity ComponentInfo{indian.railway.app/indian.railway.app.LaunchActivity}: java.lang.ClassNotFoundException: Didn't find class "indian.railway.app.LaunchActivity" on path: DexPathList[[zip file "/data/app/indian.railway.app-3.apk"],nativeLibraryDirectories=[/data/app-lib/indian.railway.app-3, /vendor/lib, /system/lib]]
via phonegap.com by Unknown author, 2 years ago
Unable to instantiate activity ComponentInfo{com.glovent.gloportal/com.glovent.gloportal.GLO_Portal}: java.lang.ClassNotFoundException: Didn't find class "com.glovent.gloportal.GLO_Portal" on path: DexPathList[[zip file "/data/app/com.glovent.gloportal-3.apk"],nativeLibraryDirectories=[/data/app-lib/com.glovent.gloportal-3, /vendor/lib, /system/lib]]
via Stack Overflow by Rushi
, 2 years ago
Unable to instantiate activity ComponentInfo{com.cipher.Shield/com.cipher.Shield.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "com.cipher.Shield.MainActivity" on path: DexPathList[[zip file "/data/app/com.cipher.Shield-10.apk"],nativeLibraryDirectories=[/data/app-lib/com.cipher.Shield-10, /vendor/lib, /system/lib]]
via Stack Overflow by Abdallah Murad
, 10 months ago
Unable to instantiate activity ComponentInfo{bike.game.moto/bike.game.moto.PTPlayer}: java.lang.ClassNotFoundException: Didn't find class "bike.game.moto.PTPlayer" on path: DexPathList[[zip file "/data/app/bike.game.moto-1.apk"],nativeLibraryDirectories=[/data/app-lib/bike.game.moto-1, /vendor/lib, /system/lib]]
via Coderanch by sam liya, 1 year ago
Unable to instantiate activity ComponentInfo{com.sph.pdf/com.sph.download.TestActivity}: java.lang.ClassNotFoundException: Didn't find class "com.sph.download.TestActivity" on path: DexPathList[[zip file "/data/app/com.sph.pdf-13.apk"],nativeLibraryDirectories=[/data/app-lib/com.sph.pdf-13, /vendor/lib, /system/lib]]
via Stack Overflow by user3274871
, 2 years ago
"com.example.android.navigationdrawerexample.MainActivity" on path: DexPathList[[zip file "/data/app/com.example.android.navigationdrawerexample-9.apk"],nativeLibraryDirectories=[/data/app-lib/com.example.android.navigationdrawerexample-9, /vendor/lib, /system/lib]]
java.lang.ClassNotFoundException: Didn't find class "indian.railway.app.LaunchActivity" on path: DexPathList[[zip file "/data/app/indian.railway.app-3.apk"],nativeLibraryDirectories=[/data/app-lib/indian.railway.app-3, /vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:67)
at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
at android.app.Instrumentation.newActivity(Instrumentation.java:1067)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2304)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2500)
at android.app.ActivityThread.access$900(ActivityThread.java:171)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1309)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5679)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)

Users with the same issue

39 times, 1 month ago
Once, 2 months ago
17699 times, 3 months ago
9 times, 3 months ago
2 times, 4 months ago

Write tip

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