Start a new topic

App crash on SDK Sample apps

I am new to Wikitude and wanted to see how it works by running the sample apps on an emulator and yet NativeSDKSamples and SDKSamples, both of the samples are crashing on load having the Logcat:


2019-09-26 14:19:53.516 5594-5594/com.wikitude.nativesdksampleapp E/AndroidRuntime: FATAL EXCEPTION: main

    Process: com.wikitude.nativesdksampleapp, PID: 5594

    java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.wikitude.nativesdksampleapp-9swUPDFuzDtM6XyRBvET9w==/base.apk"],nativeLibraryDirectories=[/data/app/com.wikitude.nativesdksampleapp-9swUPDFuzDtM6XyRBvET9w==/lib/x86, /data/app/com.wikitude.nativesdksampleapp-9swUPDFuzDtM6XyRBvET9w==/base.apk!/lib/x86, /system/lib, /vendor/lib]]] couldn't find "libnativesdk.so"

        at java.lang.Runtime.loadLibrary0(Runtime.java:1011)

        at java.lang.System.loadLibrary(System.java:1657)

        at com.wikitude.internal.WikitudeSDKInternal.<clinit>(Unknown Source:16)

        at com.wikitude.internal.WikitudeSDKInternal.a(Unknown Source:0)

        at com.wikitude.WikitudeSDK.deleteRootCacheDirectory(Unknown Source:0)

        at com.wikitude.samples.MainActivity.onCreate(MainActivity.java:66)

        at android.app.Activity.performCreate(Activity.java:6975)

        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1213)

        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2770)

        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2892)

        at android.app.ActivityThread.-wrap11(Unknown Source:0)

        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1593)

        at android.os.Handler.dispatchMessage(Handler.java:105)

        at android.os.Looper.loop(Looper.java:164)

        at android.app.ActivityThread.main(ActivityThread.java:6541)

        at java.lang.reflect.Method.invoke(Native Method)

        at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)

        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)


What would be the problem???


1 person has this problem
1 Comment

Hi,


This looks like an issue with the architecture you're building the app for. You can find details on our 64bit support in general here:


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


Greetings

Nicola

Login or Signup to post a comment