Reprint Please specify source: http://blog.csdn.net/l1028386804/article/details/47404453
1. Add c and C + + development plug-ins for eclipse
The install new software in Help
Select Helios-http://download.eclipse.org/release/helios
Wait to expand, select Programinglanguage
Choose c/D + + development tools
Go down all the way next.
Agree licenses
A successful installation will prompt you to confirm that you restarted eclipse and complete the installation by rebooting.
2, installation 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.
Double-click Install
I have downloaded the things I need to download, you can choose the install from local directory directly
Downloading and installing directly from the Internet is usually 1 days! It's much faster to install from the local
When the installation is complete, a shortcut icon appears on the desktop
Now open Cygwin.
First the program will initialize
Typing commands
Make–v
The release of GNU make shows that our Cygwin simulation of the Linux build environment was successful.
Below to install ANDROIDNDK, we use R4 version
Turn over the wall, go to Google website to download
After downloading directly to a directory, I extracted to the e-disk Android-ndk-cpp directory
Configuring the NDK's Cygwin environment variable
To facilitate the use of ndk-build directly inside the command line
You need to add the NDK directory to the Cygwin environment variable.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Android--NDK Environment Building