![]() ![]() (2) Create Android.mk Application.mk file compilation scriptĪndroid.mk #每个Android. so library and load it into the apk 在这里插入代码片 (1) Create a new jni directory in the main directory, the. loadLibrary ( "MyLibrary" ) // libxxx.so库的 libMyLibrary.so } (3) Create CMakeLists.txt in src/main jni to generate so libraryĪndroid uses armeabi-v7a by default 1.ndk-build.(2) Create CMakeLists.txt in the same level directory as build.
0 Comments
Leave a Reply. |