使用不同的ndk.abifilters库比主应用程序进行编译
是否可以使用使用库.So文件来编译主应用程序
ndk { abiFilters "armeabi-v7a", "arm64-v8a" }
并使用
ndk { abiFilters "arm64-v8a"}
库64-V8A编译? 我在另一个模块中使用“ ArmeAbi-V7a”中有其他库,因此对于每个CPU,仅其所需的库。
Library .gradle总是被忽略,并编译应用程序,然后是ARM64-V8A和ARMEABI-V7A的库模块,我不需要,它们的尺寸为20MB,
谢谢!
Is it possible to compile main app with
ndk { abiFilters "armeabi-v7a", "arm64-v8a" }
And Library module with
ndk { abiFilters "arm64-v8a"}
So that Library .so files only get compiled for arm64-v8a?
I have some other libraries in another module with "armeabi-v7a" so for each cpu only that libraries that it needs.
Library .gradle is always ignored and app compiles then Library modules for arm64-v8a and also armeabi-v7a which I don't need and they take 20mb of size
Thank you!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
所以我有点解决了这个问题。
我所做的是将所有文件直接排除在build.gradle中
,现在它在构建后删除了此文件
So I kinda solved this.
What I did is excluded all files directly in build.gradle
And now it removes this files after building