Components to build your environment:
1.Java JDK6
2.Apache Ant Build System
3.Android SDK
4.Cygwin
5.Android NDK
6.Eclipse IDE
First step: JDK installation, omitted.
Step two: Apache ant build System.
(1) http://ant.apache.org/bindownload.cgi download apache-ant-1.9.4-bin.zip Extract and configure its bin directory to path.
(2) Inspection standard: command line: ant-version Displays the version number.
Step three: SDK installation, omit.
Fourth step: Cygwin integration.
(1) Download the Cygwin installer setup.exe on the http://cygwin.com/install.html website.
(2) The Cygwin installer will provide a list of available packages to the user, and the Android NDK requires the installation of GNU Make3.8.1 and above. Select the Devel-gnu make package to install.
(3) Configure the bin in the Cygwin installation directory to path.
(4) Inspection standard: command line: make-version Displays the version number.
Fifth step: NDK installation.
(1) Visit http://developer.android.com/tools/sdk/ndk/index.html find download section, download Android-ndk-r10-windows.zip.
(2) Unzip, configure the Android-ndk-r10-windows directory to path.
(3) Inspection standard: command line ndk-build give could not ... Information
Sixth step: Eclipse installation, omitted.
About the NDK Environment building for Android C + + (Win7 system)