标签:studio make and oid txt cmak 配置 name add
https://blog.csdn.net/quwei3930921/article/details/78820991
①JNI是什么?Java Native Interface,它是java和C/C++相互通信的接口。
②JNI需要引入jni.h头文件
③加载so库 System.loadLibrary(libname);
④android studio通过CMakeLists.txt文件配置需要生成的so库,通过cmake命令来生成so库;
⑤CMakeLists.txt配置详情
add_library;find_library;target_link_libraries
标签:studio make and oid txt cmak 配置 name add
原文地址:https://www.cnblogs.com/mathyk/p/9414206.html