Last active
February 23, 2018 10:29
-
-
Save omorandi/6241406 to your computer and use it in GitHub Desktop.
Add third party jni library to Android Titanium Module
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From: http://developer.appcelerator.com/question/121573/how-do-i-use-so-library-in-module | |
Place .so files in mymodule/lib/armeabi | |
Add this to build.xml: | |
<target name="post.jar"> | |
<copy todir="${libs}"> | |
<fileset dir="lib"> | |
<include name="**/*.so"/> | |
</fileset> | |
</copy> | |
</target> | |
Run jar tf dist/com.example.mymodule-android-0.1.zip to verify that the desired library files have been added to the module. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently I'm working in this theme and I ask me: why
post.jar
?