Does nativescript supports .so file in android platform?

后端 未结 3 1899
鱼传尺愫
鱼传尺愫 2020-12-21 10:16

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

3条回答
  •  半阙折子戏
    2020-12-21 10:21

    Currently this task is not automated in the tns CLI but it should be possible to copy your *.so files in /platforms/android/libs/jni/armeabi-v7a and/or /platforms/android/libs/jni/x86 directories. Gradle build respects these folders and *.so files will be included in the *.apk package.

提交回复
热议问题