I have an app A with dependencies B and C. B has native libraries for both armeabi and armeabi-v7a. C only has native libraries for armeabi. The app fails to run on an armeabi-v7a device. (UnsatisfiedLinkError
.) If I run an app depending only on B or only on C, it works fine. As near as I understand, the phone looks for armeabi-v7a libraries, and if it finds any (e.g. B), it stops looking, and so does not find any C libraries. If it does not find any v7a libraries, it continues on and finds the armeabi libraries. Is there a way to tell Gradle to hide B's armeabi-v7a libraries, or promote C's armeabi libraries? Or to tell it to copy the eventual armeabi folder into armeabi-v7a, or something?
I've seen a number of similar questions, but they seem to deal with manually-included libraries, or don't really have a clear solution.
Surely I'm not expected to repackage my dependencies by hand, just because one of them includes an extra architecture?