diff --git a/README.md b/README.md index 6b04f1d..aaf873c 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ implementation 'top.zibin:Luban-turbo:1.0.0' ### 引入JNI动态文件 +- `build.gradle`添加`ndk`配置 ``` android { defaultConfig { @@ -29,6 +30,8 @@ android { } ``` +- 拷贝`so`文件到项目`jniLibs`文件夹 + Luban 提供4个平台的`so`文件: [`armeabi-v7a`](https://github.com/Curzibn/Luban/blob/turbo/library/src/main/jniLibs/armeabi-v7a/libluban.so)、 [`arm64-v8a`](https://github.com/Curzibn/Luban/blob/turbo/library/src/main/jniLibs/arm64-v8a/libluban.so)、