See android-ndk-r8b / documentation.html for more details.
By default, the sample does not contain the Application.mk file (in the / jni / folder). I fixed the problem by adding this file to my project and adding the following single entry, which allows the built-in files to create several types of processors (in particular, for x86 in my case):
APP_ABI := armeabi armeabi-v7a x86
After adding this file, you can run ndk-build again to create the necessary files, and then create the APK as usual.
source share