开发者

Android NDK, How to add more native function to existing library?

开发者 https://www.devze.com 2023-03-08 00:18 出处:网络
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?

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消