title: Android NDK: Use same library across different ABI architectures
body: <p>This is a followup question to : <a href="https://stackoverflow.com/questions/19358130/android-ndk-compiling-different-libraries-for-different-architectures">Android NDK : Compiling different libraries for different architectures</a></p>
  
  <p>My issue is I have two c++ JNI libraries compiled with NDK.  One is small and architecture dependent, and the other is a big library which is the same across architectures.  In order to make the .apk smaller, I would rather have only one copy of the big library.  I tried a folder structure like this:</p>
  
  <pre><code>lib/armeabi/libbig.so
  lib/armeabi/libsmall.so
  lib/armeabi-v7a/libsmall.so
  </code></pre>
  
  <p>However, when I ran it on a v7 device, I got an UnsatisfiedLinkError.  When I checked in the libs folder on the device, only libsmall.so was installed.  My question is: is it possible to have some libraries architecture-independent while others are architecture-dependent.  Something like this:</p>
  
  <pre><code>lib/armeabi/libsmall.so
  lib/armeabi-v7a/libsmall.so
  lib/all/libbig.so
  </code></pre>