Android,android NDK Development Environment Construction (for reference only)

Source: Internet
Author: User

/*****************************************************************************
Work needs, reconfigure the ANDROID+NDK development environment, record.

System environment: Windows 7 64-bit

Creation Time: 2014-10-17

Personal essays, retain ownership. Reprint please specify source and author Erwin

*****************************************************************************/

Download three files (1): JDK Eclipse and NDK

                Figure 1

   Above three files: Adt-bundle-windows-x86_64-20140702.rar contains Eclipse and Sdk,google officially packaged, free-to-install version.

Android-ndk-r10c-windows-x86_64.exe is the NDK, self-extracting file.

Jdk-8u25-windows-x64.exe is a Java JDK.

First, install the JDK

Create two new environment variables:

  Jdk_home=c:\java\jdk

  classpath=%java_home%lib\;

Add to an existing PATH environment variable .; %java_home%\bin;

Detailed Setup method

Second, install Eclipse for Android:

1. Unzip the adt-bundle-windows-x86_64-20140702 (corresponding to the specific version number).

2. Clicking Android-ndk-r10c-windows-x86_64.exe (corresponding to the specific version number) Will Self-generate android-ndk-r10c this directory.

1, 22 steps completed after 2 is shown

                  Figure 2

3. Put the above two files in their new directory (PS: Step 3 can be slightly, personal habits), I put in the C:\Android directory.

4. Open c:\android\adt-bundle-windows-x86_64-20140702\eclipse.exe,3

                   Figure 3

Choose the Eclipse working directory to your liking.

5. The ADT plugin must be installed before the NDK can be added, click menu Options Help >install New software

                       Add                      

HTTPS://dl-ssl.google.com/android/eclipse/   

                       Ok

                       Next

...

                       Finish

Google Website Reference Add method, 4

                  Figure 4

6. After restarting Eclipse,Windows>Preferences>Android>ndk, select Ndk Path, click OK , 5

                  Figure 5

Run successfully::::

Reference Links:

Google Official ADT Installation method

Android,android NDK Development Environment Construction (for reference only)

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.