如何从壁画中排除arm64-v8a目录(android的lib库) [英] How can I exclude the arm64-v8a dir from the fresco(android lib of facebook)
本文介绍了如何从壁画中排除arm64-v8a目录(android的lib库)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你看,Fresco有arm64-v8a目录,但我不想要它。我应该在build.gradle中写入
Just as you see,the Fresco has arm64-v8a dir,but I do not want it.What should I write in 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'
}
推荐答案
在您的应用的build.gradle文件中编写代码
Write below code in build.gradle file of your app
android {
...
defaultConfig {
...
ndk {
abiFilters "armeabi-v7a", "x86","armeabi"
}
packagingOptions {
exclude "lib/arm64-v8a/mysofile.so"
}
}
}
将mysofile.so替换为您的.so文件
Replace mysofile.so by your .so file
这篇关于如何从壁画中排除arm64-v8a目录(android的lib库)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文