java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{org.nativescript.HelloWorld/com.tns.NativeScriptActivity}: java.lang.ClassNotFoundException: Didn't find class "com.tns.NativeScriptActivity" on path: DexPathList[[zip file "/data/app/org.nativescript.HelloWorld-1/base.apk"],nativeLibraryDirectories=[/data/app/org.nativescript.HelloWorld-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

,

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 zorro2b
, 9 months ago
Unable to instantiate activity ComponentInfo{org.nativescript.HelloWorld/com.tns.NativeScriptActivity}: java.lang.ClassNotFoundException: Didn't find class "com.tns.NativeScriptActivity" on path: DexPathList[[zip file "/data/app/org.nativescript.HelloWorld-1/base.apk"],nativeLibraryDirectories=[/data/app/org.nativescript.HelloWorld-1/lib/arm, /vendor/lib, /system/lib]]
via GitHub by victorhugom
, 11 months ago
Unable to instantiate activity ComponentInfo{com.geteventz.app/com.tns.NativeScriptActivity}: java.lang.ClassNotFoundException: Didn't find class "com.tns.NativeScriptActivity" on path: DexPathList[[zip file "/data/app/com.geteventz.app-1/base.apk"],nativeLibraryDirectories=[/data/app/com.geteventz.app-1/lib/arm, /vendor/lib, /system/lib]]
via Stack Overflow by F1sher
, 2 years ago
Unable to instantiate activity ComponentInfo{kamil.krzyk.agh.eds/kamil.krzyk.agh.eds.activity.MenuActivity}: java.lang.ClassNotFoundException: Didn't find class "kamil.krzyk.agh.eds.activity.MenuActivity" on path: DexPathList[[zip file "/data/app/kamil.krzyk.agh.eds-1/base.apk"],nativeLibraryDirectories=[/data/app/kamil.krzyk.agh.eds-1/lib/arm, /vendor/lib, /system/lib]]
via Stack Overflow by Cristian Nolodigo
, 1 year ago
Unable to instantiate activity ComponentInfo{test.game/test.game.AndroidLauncher}: java.lang.ClassNotFoundException: Didn't find class "test.game.AndroidLauncher" on path: DexPathList[[zip file "/data/app/test.game-1/base.apk"],nativeLibraryDirectories=[/data/app/test.game-1/lib/arm, /vendor/lib, /system/lib]]
via Stack Overflow by damien5314
, 2 years ago
: DexPathList[[zip file "/data/app/com.ddiehl.android.htn.debug-1/base.apk"],nativeLibraryDirectories=[/data/app/com.ddiehl.android.htn.debug-1/lib/arm, /vendor/lib, /system/lib]]
via Stack Overflow by user3806428
, 2 years ago
Unable to instantiate activity ComponentInfo{com.qualcomm.VectorAdd/com.qualcomm.common.AdrenoLauncherActivity}: java.lang.ClassNotFoundException: Didn't find class "com.qualcomm.common.AdrenoLauncherActivity" on path: DexPathList[[zip file "/data/app/com.qualcomm.VectorAdd-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{org.nativescript.HelloWorld/com.tns.NativeScriptActivity}: java.lang.ClassNotFoundException: Didn't find class "com.tns.NativeScriptActivity" on path: DexPathList[[zip file "/data/app/org.nativescript.HelloWorld-1/base.apk"],nativeLibraryDirectories=[/data/app/org.nativescript.HelloWorld-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:1070)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2361)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2522)
at android.app.ActivityThread.access$800(ActivityThread.java:167)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1417)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5537)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:956)

Users with the same issue

34 times, 7 hours ago
Once, 1 month ago
17699 times, 2 months ago
9 times, 2 months ago
2 times, 3 months ago

Write tip

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