Build Android Ndk:① development environment (Windows Eclipse without Cygwin)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.