
正如你看到的,Fresco 有 arm64-v8a 目录,但我不想要它。我应该在 build.gradle 中写什么
compile('com.facebook.fresco:fresco:0.5.3') {
exclude group: 'com.android.support'
exclude group: 'com.nineoldandroids'
exclude group: 'imagepipeline/jni/arm64-v8a'
}
Run Code Online (Sandbox Code Playgroud)
在您的应用程序的 build.gradle 文件中写入以下代码
android {
...
defaultConfig {
...
ndk {
abiFilters "armeabi-v7a", "x86","armeabi"
}
packagingOptions {
exclude "lib/arm64-v8a/mysofile.so"
}
}
}
Run Code Online (Sandbox Code Playgroud)
用你的 .so 文件替换 mysofile.so
| 归档时间: |
|
| 查看次数: |
3313 次 |
| 最近记录: |