Android NDK, How to add more native function to existing library?
Let' say I already compiled native source codes and got libNativeLib.so file. If开发者_开发百科 I want to add more functions to the library then how do I do this?
Thanks in advance..
If you have the header file(s) to libNativeLib.so
You can rename it to libNativeLibMid.so
, then You can write your c
methods and compile this code into libNativeLib.so
using static linking to libNativeLibMid.so
.
精彩评论