The Android Native Development Kit is a collection of cross-compilers and support libraries that can be used to create shared object (.so) files that target one or more officially supported Android architectures.
A special package of zip files for Android applications (.apk) allows you to include separate native libraries for more than one architecture.
If you refer to the NDK documentation, you will see that there is a project configuration file that you can use to specify the architecture (s) that your own code must be compiled for support.
source
share