The NDK configuration environment under Android--------Eclipse

Source: Internet
Author: User

The NDK full name is Native development Kit, a toolset for developers to embed components written in native code in Android apps

The Native Development Kit (NDK) is a set of tools that enable you to leverage C and C + + code in Android apps. Can be built from your own source code, or take advantage of an existing pre-built library.

For more information, please read the blog:

Ndk:

Https://developer.android.google.cn/ndk/downloads/index.html

Unzip after download is complete

Specifying the NDK path in eclipse

Open Eclipse--->windwos---->preference--->android---->ndk

Note here to enterbuild directory, or you might find that eclipse may have an error message . the environment variable is then configuredFirst step: Create a System environment variable for the root directory first Ndk_rootEnter the NDK installation pathThe second step: Add the NDK path to the variable path,%ndk_root%; After that, verify that the success is window+r---cmd open console input ndk-build verification Congratulations, your NDK environment has been built successfully.

The NDK configuration environment under Android--------Eclipse

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.