Why armeabi-v7a conflicts with armeabi of another module?

好久不见. 提交于 2019-12-19 10:25:26

问题


I have 2 modules in my project

Moudle 1:

  • libs/armeabi

Module 2:

  • libs/armeabi
  • libs/armeabi-v7a

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

Why ?


回答1:


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.

If you are going to include libs for multiple ABIs then you must include all libs for all those ABIs.



来源:https://stackoverflow.com/questions/17771100/why-armeabi-v7a-conflicts-with-armeabi-of-another-module

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