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