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]]


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 web48341

Solution icon of stackoverflow
via Stack Overflow by zorro2b
, 6 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]]

Solution icon of github
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]]

Solution icon of github
Unable to instantiate activity ComponentInfo{org.nativescript.tests/com.tns.NativeScriptActivity}: java.lang.ClassNotFoundException: Didn't find class "com.tns.NativeScriptActivity" on path: DexPathList[[zip file "/data/app/org.nativescript.tests-1

Solution icon of github
Unable to instantiate activity ComponentInfo{org.nativescript.tests/com.tns.NativeScriptActivity}: java.lang.ClassNotFoundException: Didn't find class "com.tns.NativeScriptActivity" on path: DexPathList[[zip file "/data/app/org.nativescript.tests-1

Solution icon of github
Unable to instantiate activity ComponentInfo{fr.hubup.ivy.dev/com.tns.NativeScriptActivity}: java.lang.ClassNotFoundException: Didn't find class "com.tns.NativeScriptActivity" on path: DexPathList[[zip file "/data/app/fr.hubup.ivy.dev-1/base.apk

Solution icon of stackoverflow
via Stack Overflow by mike_x_
, 1 year ago
Unable to instantiate activity ComponentInfo{my1.app/my1.app.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "my1.app.MainActivity" on path: DexPathList[[zip file "/data/app/my1.app-1/base.apk"],nativeLibraryDirectories=[/data/app/my1.app-1/lib/arm, /vendor/lib, /system/lib]]

Solution icon of web
via ezeenow.com by Unknown author, 11 months ago
Unable to instantiate activity ComponentInfo{my1.app/my1.app.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "my1.app.MainActivity" on path: DexPathList[[zip file "/data/app/my1.app-1/base.apk"],nativeLibraryDirectories=[/data/app/my1.app-1/lib/arm, /vendor/lib, /system/lib]]

Solution icon of github
via GitHub by dovanvu1792
, 4 months ago
Unable to instantiate activity ComponentInfo{com.gigamole.navigationtabbar/com.gigamole.navigationtabbar.MainActivity}: **java.lang.ClassNotFoundException: Didn't find class "com.gigamole.navigationtabbar.MainActivity"** on path: DexPathList[[zip

Solution icon of stackoverflow
Unable to instantiate activity ComponentInfo{com.techybite.sportsball/com.techybite.sportsball.AndroidLauncher}: java.lang.ClassNotFoundException: Didn't find class "com.techybite.sportsball.AndroidLauncher" on path: DexPathList[[zip file "/data/app/com.techybite.sportsball-1/base.apk"],nativeLibraryDirectories=[/data/app/com.techybite.sportsball-1/lib/arm, /vendor/lib, /system/lib]]

Solution icon of stackoverflow
: 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]]

Stack trace

  • 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 android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2371) 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) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:751) Caused by: 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) ... 10 more

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

6 times, 1 month ago
50 times, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 3 months ago
6 times, 6 months ago
Once, 8 months ago
159 more bugmates