The NDK is a useful tool in Android development that allows you to build the native method, which is a library (. dll or. So file) that is called by the Java code through the Jni method.
The new version of NDK,R7 more than the version, making the compilation library becomes very simple. Cygwin plugins are no longer required. So, it's very simple. You do not need to do it in eclipse to compile the required libraries.
The specific operation:
1. Download, unzip to the directory;
2. Set the environment variable in the system, that is, add the path of the NDK in path
3, the above installation ends, the above situation indicates that can be used. Specific use: You may also encounter the above hints, this time need to do is:
Make sure that the files you need to compile are placed in the Jni folder.
It would be nice to fix a problem with further code.
New Ndk-build Use