RecognitionEngine recognitionEngine = RecognitionEngine.authEngine(context);
thank you for contacting us.
By default, our samples deploy the native libraries into the "
In the current case, it seems you have "rooted devices", and you deploy in the "/system/lib" directory. The error is then indicated in the screenshot you posted: the libc++_shared.so is indeed needed by our iink SDK. You shall then deploy it into the /system/lib directory.
You can find it into the iink.aar file we provide (for arm64, you can find it into the "jni/arm64-v8a" directory)
Also, we notice you are using the iink 1.3.1. Please note last July, we released the iink 1.4.1. We then recommend you update to the latter one.
currently, please find an addendum. as you mentionned this occurs occasionaly on devices running Android 9.
Indeed, from Nougat onwards, Android prevents the runtime linkage of private symbols from system libraries. You shall either:
You can refer to the following topics:
Let us know if this helps.