Start a new topic

App crashes in 64 bit devices - java.lang.ClassNotFoundException

App crashes in 64 bit devices with the following error:

Platform: Android (Kony FFI)


10-03 19:25:43.024: W/ActivityThread(15266): handleWindowVisibility: no activity for token android.os.BinderProxy@23cfea9

10-03 19:25:43.033: I/StandardLibAr(15266): CatID in main Activity reading :: 1

10-03 19:25:43.033: I/StandardLibAr(15266): custName in main Activity reading :: 1

10-03 19:25:43.033: I/StandardLibAr(15266): isLoggedIn in main Activity reading :: 1

10-03 19:25:43.033: I/StandardLibAr(15266): isMOCS in main Activity reading :: 1

10-03 19:25:43.033: I/StandardLibAr(15266): isSadara in main Activity reading :: 0

10-03 19:25:43.034: I/StandardLibAr(15266): isNotify in main Activity reading :: 1

10-03 19:25:43.034: I/StandardLibAr(15266): nuqPoints in main Activity reading ::

10-03 19:25:43.034: I/StandardLibAr(15266): CatID in main Activity outside :: 1

10-03 19:25:43.034: D/AndroidRuntime(15266): Shutting down VM

10-03 19:25:43.035: E/AndroidRuntime(15266): FATAL EXCEPTION: main

10-03 19:25:43.035: E/AndroidRuntime(15266): Process: com.nbx.mobs, PID: 15266

10-03 19:25:43.035: E/AndroidRuntime(15266): java.lang.NoClassDefFoundError: Failed resolution of: Lcom/wikitude/architect/ArchitectView;

10-03 19:25:43.035: E/AndroidRuntime(15266): at com.nbx.mobs.MainActivity.onCreate(MainActivity.java:131)

10-03 19:25:43.035: E/AndroidRuntime(15266): at android.app.Activity.performCreate(Activity.java:7326)

10-03 19:25:43.035: E/AndroidRuntime(15266): at android.app.Activity.performCreate(Activity.java:7317)

10-03 19:25:43.035: E/AndroidRuntime(15266): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)

10-03 19:25:43.035: E/AndroidRuntime(15266): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3072)

10-03 19:25:43.035: E/AndroidRuntime(15266): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3235)

10-03 19:25:43.035: E/AndroidRuntime(15266): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)

10-03 19:25:43.035: E/AndroidRuntime(15266): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)

10-03 19:25:43.035: E/AndroidRuntime(15266): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)

10-03 19:25:43.035: E/AndroidRuntime(15266): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1926)

10-03 19:25:43.035: E/AndroidRuntime(15266): at android.os.Handler.dispatchMessage(Handler.java:106)

10-03 19:25:43.035: E/AndroidRuntime(15266): at android.os.Looper.loop(Looper.java:214)

10-03 19:25:43.035: E/AndroidRuntime(15266): at android.app.ActivityThread.main(ActivityThread.java:6986)

10-03 19:25:43.035: E/AndroidRuntime(15266): at java.lang.reflect.Method.invoke(Native Method)

10-03 19:25:43.035: E/AndroidRuntime(15266): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)

10-03 19:25:43.035: E/AndroidRuntime(15266): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1445)

10-03 19:25:43.035: E/AndroidRuntime(15266): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.wikitude.architect.ArchitectView" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.nbx.mobs-VQd25SCIOdqm-vN5u8870g==/base.apk"],nativeLibraryDirectories=[/data/app/com.nbx.mobs-VQd25SCIOdqm-vN5u8870g==/lib/arm64, /data/app/com.nbx.mobs-VQd25SCIOdqm-vN5u8870g==/base.apk!/lib/arm64-v8a, /system/lib64]]

10-03 19:25:43.035: E/AndroidRuntime(15266): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)

10-03 19:25:43.035: E/AndroidRuntime(15266): at java.lang.ClassLoader.loadClass(ClassLoader.java:379)

10-03 19:25:43.035: E/AndroidRuntime(15266): at java.lang.ClassLoader.loadClass(ClassLoader.java:312)

10-03 19:25:43.035: E/AndroidRuntime(15266): ... 16 more

10-03 19:25:43.035: D/VM Util(15266): Failed resolution of: Lcom/wikitude/architect/ArchitectView;

10-03 19:25:43.036: E/KonyStartupInitializer(15266): Error code 100 Error MessageUnknown Error

10-03 19:25:43.038: D/Debug(4868): !@DumpState : SHIP

10-03 19:25:43.038: D/Debug(4868): !@DumpState : debug level:0x4f4c

10-03 19:25:43.038: D/Debug(4868): !@Dumpstate : Finally, system will skip dumpstate

1 Comment

Hi,


Could you please provide the following details:


  • Which version of the SDK are you using?
  • Are you using any of our Extensions (Cordova, Xamarin, Unity)? If yes, which version are you using?
  • Is this happening with the sample app or in your own app? If it happens with your own app, Does the sample app work on your device?
  • Did you make sure to follow the build settings for 64 bit and also read this knowledgebase entry:

    https://support.wikitude.com/support/discussions/topics/5000091127


Thx and greetings

Nicola

Login or Signup to post a comment