1. Add c and C + + development plug-ins for eclipse
: http://www.eclipse.org/cdt/downloads.php
2, install Cygwin
The NDK needs to run in a Linux environment, and Cygwin is a tool for simulating Linux under Windows.
Cygwin is a program that supports many plugins.
Installation Address: http://www.cygwin.com/
Note: The installed path cannot have spaces and Chinese
Select the response plug-in.
Plugins must be installed: Devel,shell two.
The first boot will be initialized and slower.
Typing commands
Make–v
The release of GNU make shows that our Cygwin simulation of the Linux build environment was successful.
3. Below to install Android NDK, we use R4 version
FQ, go to google website to download
After downloading directly to a directory, I extracted to the e-disk Android-ndk-cpp directory
4. Configuring the NDK's Cygwin environment variables
To facilitate the use of ndk-build directly inside the command line
You need to add the NDK directory to the Cygwin environment variable.
JNI environment Setup, CDT, CYGWIN,NDK