Error while build : java.lang.UnsatisfiedLinkError: dlopen failed: library "libMaxstAR.so" not found
Please provide your development details as below;
1. SDK Version: 27, 27.1.1
2. Development Environment: Native Android
3. Tracker/Scanner: Image Tracker, along with all the modes
4. License Type: Free
5. Target Device(Optional): Android 10, 11, 12
Logcat for the application:
2022-07-18 22:06:30.478 4209-4209/com.maxst.ar.sample E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.maxst.ar.sample, PID: 4209
java.lang.UnsatisfiedLinkError: dlopen failed: library "libMaxstAR.so" not found
at java.lang.Runtime.loadLibrary0(Runtime.java:1077)
at java.lang.Runtime.loadLibrary0(Runtime.java:998)
at java.lang.System.loadLibrary(System.java:1656)
at com.maxst.ar.MaxstARJNI.<clinit>(MaxstARJNI.java:12)
at com.maxst.ar.MaxstARJNI.init(Native Method)
at com.maxst.ar.MaxstAR.init(MaxstAR.java:27)
at com.maxst.ar.sample.instantTracker.InstantTrackerActivity.onCreate(InstantTrackerActivity.java:49)
at android.app.Activity.performCreate(Activity.java:8051)
at android.app.Activity.performCreate(Activity.java:8031)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1329)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3608)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3792)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2210)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7839)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
Thank you for your interest in MAXST AR SDK.
We have responded to this by e-mail.
If you have related the MAXST AR SDK questions, feel free to ask.
Best regards,
Francisco
MAXST Support Team
Hi,
I am bit new to Android and also Maxst.
I am going through the getting started guides and facing the same exception.
1. Development Environment: Android
2. minsdk: 24
3. targetsdk: 32
4. compilesdk: 32
5. License Type : Free
Thanks
Saty