Build Android Ndk:① development environment (Windows Eclipse without Cygwin)
--Reprint Please specify Source: Coder-pig
something of a conceptual nature:
JNI: (Java Native Interface java) Locally developed interface, through which Java calls the external C + + code,
The Java code can be called from the external C + + code!
NDK: (Native Develop Kits) Local Development Kit Google offers to us a JNI program developed on Android
Toolset, with which it will make our development more efficient
CDT:(C + + Develop tools) D/C + + development tools, try C + + code to highlight
Cygwin: Linux emulator under Windows, Android, compiled C + + source code used to use the Linux environment,
Compile it into a Linux-specific platform file. So or. A; in the high version of the NDK, it is not possible to install Cygwin,
This section to build the environment is not installed it, want to install Google, full street is ...
Environment Construction:
1.Eclipse + SDK +adt:
This is needless to say, the direct official website of the previous website provided by the Eclipse + SDK + ADT Dongdong,
Or build one yourself, here is the last version of the IDE provided by the official prior to everyone, you can download it yourself:
32-bit: http://pan.baidu.com/s/1i31nhD7
64-bit: http://pan.baidu.com/s/1i3tf8Ip
2.CDT:
Easy for us to see C, if your eclipse is the official packaged IDE, you can skip this step directly!
The official has been very thoughtful for us to integrate, if not, go to the following website to select the version you need:
CDT DOWNLOAD Link:
http://www.eclipse.org/cdt/downloads.php
Help-Install-new Softwares:
Then pull down, find the following things, choose what you need to download,
Next:
Then there's a long wait ~ and then the restart
After the reboot is complete, we can see the NDK in the Windows->preference directory:
3.NDK Directory configuration:
Download to official website: http://developer.android.com/tools/sdk/ndk/index.html
After the download is done, after double-clicking he will unzip himself into a folder:
Next, the NDK will select this path.
All right, here we go, our NDK development environment is built like this-ash is always simple
Android Ndk:① Development environment (Windows Eclipse without Cygwin)