Why does armeabi-v7a conflict with armeabi of another module?

I have 2 modules in my project

Moudle 1:

  • libs/armeabi

Module 2:

  • libs/armeabi
  • libs/armeabi-v7a

To successfully run the application, I need to completely delete the armeabi-v7a , otherwise the .so folder in the Module 1 armeabi will not load armeabi

Why?

+2
source share
1 answer

When installing the application , either armeabi-v7a or armeabi-v7a will be extracted from the APK. In this case, you hope that Android will choose armeabi libs, but on armeabi-v7a it will install armeabi-v7a libs, since at least one exists.

If you are going to enable libs for several ABIs, then you should include all libraries for all these ABIs.

0
source

Source: https://habr.com/ru/post/1497159/


All Articles