Gradle exclude arm64 libs

好久不见. 提交于 2019-11-29 02:04:25

I found a solution by excluding the specific *.so files that were just added inside the architectures i didn't want to support:

packagingOptions {
  exclude 'lib/arm64-v8a/lib.so'
  exclude 'lib/mips/lib.so'
}
kos

https://stackoverflow.com/a/30799825/3325222 worked for me in a similar situation. However, that solution is actually deprecated.

There is new SDK support in experimental Gradle 2.5 which supports architecture filters: http://tools.android.com/tech-docs/new-build-system/tips

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!