1, please refer to my blog http://blog.csdn.net/changcsw/article/details/41491257 installation Cygwin environment
2. Please refer to my blog http://write.blog.csdn.net/postedit/8983907 complete basic NDK simple build only support Armeabi so package
3. Generate so packages that support multiple CPU types
In the directory corresponding to the NDK directory, android-ndk-r9d\samples\hello-jni\jni find the application.mk file and copy it to the JNI directory in your project.
Open the Application.mk file to see App_abi: = All
If not changed, the Armeabi, ARMEABI-V7A, x86, MIPS four types of so files will be generated in the Lib directory. If a warning is found:
Warning:app_platform android-19 is larger than Android:minsdkversion 8 in./androidmanifest.xml
Just add a sentence in the Application.mk file: app_platform: = android-8
Of course, sometimes only need to Armeabi, armeabi-v7a these two CPU types of support, there is no need to generate other, this time as long as the
App_abi: = All in the Application.mk file is changed to: App_abi: = Armeabi armeabi-v7a.
Android NDK generates a multiple CPU type so package