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

Stack Overflow | zorro2b | 1 month ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rp . Or join the community to write better ones.
  1. 0

    Nativescript Unable to instantiate activity

    Stack Overflow | 1 month ago | zorro2b
    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]]
  2. 0

    Running `tsc` after runing tests causes test execution to fail

    GitHub | 5 months ago | vossad01
    java.lang.RuntimeException: 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/base.apk"],nativeLibraryDirectories=[/data/app/org.nativescript.tests-1/lib/x86, /data/app/org.nativescript.tests-1/base.apk!/lib/x86, /system/lib, /vendor/lib]]
  3. 0

    Running `tsc` after runing tests causes test execution to fail

    GitHub | 5 months ago | NickIliev
    java.lang.RuntimeException: 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/base.apk"],nativeLibraryDirectories=[/data/app/org.nativescript.tests-1/lib/x86, /data/app/org.nativescript.tests-1/base.apk!/lib/x86, /system/lib, /vendor/lib]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    If the decompile process didn't work properly, try the Android APK Decompiler.
  6. 0

    Crashes when attempting to run on Android reboot

    GitHub | 3 months ago | sm1ddy
    java.lang.RuntimeException: Unable to instantiate receiver com.tns.broadcastreceivers.NotificationServiceStarterReceiver: java.lang.ClassNotFoundException: Didn't find class "com.tns.broadcastreceivers.NotificationServiceStarterReceiver" on path: DexPathList[[zip file "/data/app/org.nativescript.bgservice-1/base.apk"],nativeLibraryDirectories=[/data/app/org.nativescript.bgservice-1/lib/arm64, /data/app/org.nativescript.bgservice-1/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]

  1. Adrien 6 times, last 2 months ago
  2. Indri Yunita 1 times, last 4 months ago
  3. ajinkya_w 3 times, last 5 months ago
  4. Andreas Häber 1 times, last 5 months ago
  5. aakash 3 times, last 8 months ago
49 more registered users
46 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. Android Platform
    BaseDexClassLoader.findClass
    1. dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
    1 frame
  3. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:511)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:469)
    2 frames
  4. Android Platform
    ActivityThread.main
    1. android.app.Instrumentation.newActivity(Instrumentation.java:1070)
    2. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2361)
    3. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2522)
    4. android.app.ActivityThread.access$800(ActivityThread.java:167)
    5. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1417)
    6. android.os.Handler.dispatchMessage(Handler.java:111)
    7. android.os.Looper.loop(Looper.java:194)
    8. android.app.ActivityThread.main(ActivityThread.java:5537)
    8 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:956)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:751)
    2 frames