为什么armeabi-V7A与armeabi另一个模块的冲突? [英] Why armeabi-v7a conflicts with armeabi of another module?
问题描述
我有2个模块在我的项目
I have 2 modules in my project
Moudle 1:
-
库/ armeabi
libs/armeabi
模块2:
-
库/ armeabi
-
库/ armeabi-V7A
libs/armeabi
libs/armeabi-v7a
为了成功运行应用程序,我必须删除 armeabi-V7A
文件夹彻底,否则的.so
在库模块1
armeabi
文件夹将不加载
In order to successfully run the app, I have to remove armeabi-v7a
folder completely, otherwise the .so
libs in Module 1
armeabi
folder won't load
为什么?
推荐答案
在应用程序安装,或者 armeabi
或 armeabi-V7A
库将被从APK提取。在这种情况下,你会希望Android的选择了 armeabi
库,但 armeabi-V7A
设备,它将安装 armeabi-V7A
库,因为至少有一个存在。
During app installation, either armeabi
or armeabi-v7a
libs will be extracted from the APK. In this scenario, you would hope Android chooses the armeabi
libs, but on armeabi-v7a
devices, it will install armeabi-v7a
libs, since at least one exists.
如果您要包括多个ABI的库则必须包括所有库,所有这些ABI的。
If you are going to include libs for multiple ABIs then you must include all libs for all those ABIs.
这篇关于为什么armeabi-V7A与armeabi另一个模块的冲突?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!