JNI environment Setup, CDT, CYGWIN,NDK

Source: Internet
Author: User

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

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.