java.lang.ClassNotFoundException

Didn't find class "com.tns.FragmentClass" on path: DexPathList[[zip file "/data/app/org.nativescript.mobile-1/base.apk"],nativeLibraryDirectories=[/data/app/org.nativescript.mobile-1/lib/x86, /data/app/org.nativescript.mobile-1/base.apk!/lib/x86, /vendor/lib, /system/lib]] 07-20 12:56:36.533: W/System.err(5441): dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) 07-20 12:56:36.533: W/System.err(5441): java.lang.ClassLoader.loadClass(ClassLoader.java:511) 07-20 12:56:36.533: W/System.err(5441): java.lang.ClassLoader.loadClass(ClassLoader.java:469) 07-20 12:56:36.533: W/System.err(5441): java.lang.Class.classForName(Native Method) 07-20 12:56:36.533: W/System.err(5441): java.lang.Class.forName(Class.java:324) 07-20 12:56:36.533: W/System.err(5441): java.lang.Class.forName(Class.java:285) 07-20 12:56:36.533: W/System.err(5441): com.tns.Runtime.getClassForName(Runtime.java:772) 07-20 12:56:36.533: W/System.err(5441): com.tns.ClassResolver.resolveClass(ClassResolver.java:49) 07-20 12:56:36.533: W/System.err(5441): com.tns.Runtime.resolveClass(Runtime.java:310) 07-20 12:56:36.533: W/System.err(5441): com.tns.Runtime.runModule(Native Method) 07-20 12:56:36.533: W/System.err(5441): com.tns.Runtime.runModule(Runtime.java:241) 07-20 12:56:36.533: W/System.err(5441): com.tns.Runtime.run(Runtime.java:235) 07-20 12:56:36.533: W/System.err(5441): com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:17) 07-20 12:56:36.533: W/System.err(5441): android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013) 07-20 12:56:36.535: W/System.err(5441): android.app.ActivityThread.handleBindApplication(ActivityThread.java:4707) 07-20 12:56:36.535: W/System.err(5441): android.app.ActivityThread.-wrap1(ActivityThread.java) 07-20 12:56:36.535: W/System.err(5441): android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405) 07-20 12:56:36.535: W/System.err(5441): android.os.Handler.dispatchMessage(Handler.java:102) 07-20 12:56:36.535: W/System.err(5441): android.os.Looper.loop(Looper.java:148) 07-20 12:56:36.535: W/System.err(5441): android.app.ActivityThread.main(ActivityThread.java:5417) 07-20 12:56:36.535: W/System.err(5441): java.lang.reflect.Method.invoke(Native Method) 07-20 12:56:36.535: W/System.err(5441): com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) 07-20 12:56:36.535: W/System.err(5441): com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) 07-20 12:56:36.535: W/System.err(5441): File: "<unknown>, line: 1, column: 265 07-20 12:56:36.535: W/System.err(5441): StackTrace: 07-20 12:56:36.535: W/System.err(5441): Frame: function:'', file:'/data/data/org.nativescript.mobile/files/internal/ts_helpers.js', line: 103, column: 29 07-20 12:56:36.535: W/System.err(5441): Frame: function:'DecorateConstructor', file:'/data/data/org.nativescript.mobile/files/app/tns_modules/reflect-metadata/Reflect.js', line: 536, column: 29 07-20 12:56:36.535: W/System.err(5441): Frame: function:'decorate', file:'/data/data/org.nativescript.mobile/files/app/tns_modules/reflect-metadata/Reflect.js', line: 98, column: 20 07-20 12:56:36.535: W/System.err(5441): Frame: function:'__decorate', file:'/data/data/org.nativescript.mobile/files/internal/ts_helpers.js', line: 14, column: 32 07-20 12:56:36.535: W/System.err(5441): Frame: function:'', file:'/data/data/org.nativescript.mobile/files/app/tns_modules/ui/frame/frame.js', line: 564, column: 21 07-20 12:56:36.535: W/System.err(5441): Frame: function:'', file:'/data/data/org.nativescript.mobile/files/app/tns_modules/ui/frame/frame.js', line: 568, column: 2 07-20 12:56:36.535: W/System.err(5441): Frame: function:'require', file:'', line: 1, column: 266 07-20 12:56:36.535: W/System.err(5441): Frame: function:'', file:'/data/data/org.nativescript.mobile/files/app/tns_modules/nativescript-angular/platform-providers.js', line: 2, column: 15 07-20 12:56:36.535: W/System.err(5441): Frame: function:'require', file:'', line: 1, column: 266 07-20 12:56:36.535: W/System.err(5441): Frame: function:'', file:'/data/data/org.nativescript.mobile/files/app/tns_modules/nativescript-angular/renderer.js', line: 21, column: 28 07-20 12:56:36.535: W/System.err(5441): Frame: function:'require', file:'', line: 1, column: 266 07-20 12:56:36.535: W/System.err(5441): Frame: function:'', file:'/data/data/org.nativescript.mobile/files/app/tns_modules/nativescript-angular/application.js', line: 11, column: 18 07-20 12:56:36.535: W/System.err(5441): Frame: function:'require', file:'', line: 1, column: 266 07-20 12:56:36.535: W/System.err(5441): Frame: function:'', file:'/data/data/org.nativescript.mobile/files/app/main.js', line: 3, column: 21 Frame: function:'require', file:'', line: 1, column: 266

Solutions on the web6236

  • Didn't find class "com.tns.FragmentClass" on path: DexPathList[[zip file "/data/app/org.nativescript.mobile-1/base.apk"],nativeLibraryDirectories=[/data/app/org.nativescript.mobile-1/lib/x86, /data/app/org.nativescript.mobile-1/base.apk!/lib/x86
  • Didn't find class "com.tns.FragmentClass" on path: DexPathList[[zip file "/data/app/org.nativescript.mobile-1/base.apk"],nativeLibraryDirectories=[/data/app/org.nativescript.mobile-1/lib/x86, /data/app/org.nativescript.mobile-1/base.apk!/lib/x86
  • Didn't find class "com.tns.FragmentClass" on path: DexPathList[[zip file "/data/app/org.nativescript.mobile-1/base.apk"],nativeLibraryDirectories=[/data/app/org.nativescript.mobile-1/lib/x86, /data/app/org.nativescript.mobile-1/base.apk!/lib/x86
  • Stack trace

    • java.lang.ClassNotFoundException: Didn't find class "com.tns.FragmentClass" on path: DexPathList[[zip file "/data/app/org.nativescript.mobile-1/base.apk"],nativeLibraryDirectories=[/data/app/org.nativescript.mobile-1/lib/x86, /data/app/org.nativescript.mobile-1/base.apk!/lib/x86, /vendor/lib, /system/lib]] 07-20 12:56:36.533: W/System.err(5441): dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) 07-20 12:56:36.533: W/System.err(5441): java.lang.ClassLoader.loadClass(ClassLoader.java:511) 07-20 12:56:36.533: W/System.err(5441): java.lang.ClassLoader.loadClass(ClassLoader.java:469) 07-20 12:56:36.533: W/System.err(5441): java.lang.Class.classForName(Native Method) 07-20 12:56:36.533: W/System.err(5441): java.lang.Class.forName(Class.java:324) 07-20 12:56:36.533: W/System.err(5441): java.lang.Class.forName(Class.java:285) 07-20 12:56:36.533: W/System.err(5441): com.tns.Runtime.getClassForName(Runtime.java:772) 07-20 12:56:36.533: W/System.err(5441): com.tns.ClassResolver.resolveClass(ClassResolver.java:49) 07-20 12:56:36.533: W/System.err(5441): com.tns.Runtime.resolveClass(Runtime.java:310) 07-20 12:56:36.533: W/System.err(5441): com.tns.Runtime.runModule(Native Method) 07-20 12:56:36.533: W/System.err(5441): com.tns.Runtime.runModule(Runtime.java:241) 07-20 12:56:36.533: W/System.err(5441): com.tns.Runtime.run(Runtime.java:235) 07-20 12:56:36.533: W/System.err(5441): com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:17) 07-20 12:56:36.533: W/System.err(5441): android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013) 07-20 12:56:36.535: W/System.err(5441): android.app.ActivityThread.handleBindApplication(ActivityThread.java:4707) 07-20 12:56:36.535: W/System.err(5441): android.app.ActivityThread.-wrap1(ActivityThread.java) 07-20 12:56:36.535: W/System.err(5441): android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405) 07-20 12:56:36.535: W/System.err(5441): android.os.Handler.dispatchMessage(Handler.java:102) 07-20 12:56:36.535: W/System.err(5441): android.os.Looper.loop(Looper.java:148) 07-20 12:56:36.535: W/System.err(5441): android.app.ActivityThread.main(ActivityThread.java:5417) 07-20 12:56:36.535: W/System.err(5441): java.lang.reflect.Method.invoke(Native Method) 07-20 12:56:36.535: W/System.err(5441): com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) 07-20 12:56:36.535: W/System.err(5441): com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) 07-20 12:56:36.535: W/System.err(5441): File: "<unknown>, line: 1, column: 265 07-20 12:56:36.535: W/System.err(5441): StackTrace: 07-20 12:56:36.535: W/System.err(5441): Frame: function:'', file:'/data/data/org.nativescript.mobile/files/internal/ts_helpers.js', line: 103, column: 29 07-20 12:56:36.535: W/System.err(5441): Frame: function:'DecorateConstructor', file:'/data/data/org.nativescript.mobile/files/app/tns_modules/reflect-metadata/Reflect.js', line: 536, column: 29 07-20 12:56:36.535: W/System.err(5441): Frame: function:'decorate', file:'/data/data/org.nativescript.mobile/files/app/tns_modules/reflect-metadata/Reflect.js', line: 98, column: 20 07-20 12:56:36.535: W/System.err(5441): Frame: function:'__decorate', file:'/data/data/org.nativescript.mobile/files/internal/ts_helpers.js', line: 14, column: 32 07-20 12:56:36.535: W/System.err(5441): Frame: function:'', file:'/data/data/org.nativescript.mobile/files/app/tns_modules/ui/frame/frame.js', line: 564, column: 21 07-20 12:56:36.535: W/System.err(5441): Frame: function:'', file:'/data/data/org.nativescript.mobile/files/app/tns_modules/ui/frame/frame.js', line: 568, column: 2 07-20 12:56:36.535: W/System.err(5441): Frame: function:'require', file:'', line: 1, column: 266 07-20 12:56:36.535: W/System.err(5441): Frame: function:'', file:'/data/data/org.nativescript.mobile/files/app/tns_modules
    • ativescript-angular/platform-providers.js', line: 2, column: 15 07-20 12:56:36.535: W/System.err(5441): Frame: function:'require', file:'', line: 1, column: 266 07-20 12:56:36.535: W/System.err(5441): Frame: function:'', file:'/data/data/org.nativescript.mobile/files/app/tns_modules
    • ativescript-angular/renderer.js', line: 21, column: 28 07-20 12:56:36.535: W/System.err(5441): Frame: function:'require', file:'', line: 1, column: 266 07-20 12:56:36.535: W/System.err(5441): Frame: function:'', file:'/data/data/org.nativescript.mobile/files/app/tns_modules
    • ativescript-angular/application.js', line: 11, column: 18 07-20 12:56:36.535: W/System.err(5441): Frame: function:'require', file:'', line: 1, column: 266 07-20 12:56:36.535: W/System.err(5441): Frame: function:'', file:'/data/data/org.nativescript.mobile/files/app/main.js', line: 3, column: 21 Frame: function:'require', file:'', line: 1, column: 266 at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4710)

    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

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.