Recently we are using nativescript to build an app, and we need to use a third-patty library which provides both IOS and Android SDK.
But it failed even we push .so file to lib folder, the error is the library cannot find the expected .so file during app running.
So I want to know does nativescript supports .so file and how to make it works?
Thanks in advance.
Currently this task is not automated in the tns CLI but it should be possible to copy your *.so files in <project>/platforms/android/libs/jni/armeabi-v7a and/or <project>/platforms/android/libs/jni/x86 directories. Gradle build respects these folders and *.so files will be included in the *.apk package.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With