Configuring Eclipse Auto-Compilation Ndk/jni

Source: Internet
Author: User

Eclipse Association ndk-build (self-built builder method)

1. project->properties->builders->new, create a new Builder

2. parameter Configuration

2.1 Main

①name:ndk_builder

②location is the path to Ndk-build.cmd, can be an absolute path, or it can be in the form of an environment variable, that is, ${android_ndk}\ndk-build.cmd, where ANDROID_NDK is a configured NDK path

③working Directory, for the current project.

Here the expression of ${} is using the EC environment variable, can use the variables ... button to find some 3 EC environment variables.

For the configuration on Linux, just like the configuration here, simply change the address of location to Ndk-build.

2.2 Refresh

2.3 Build Options

Note: In a Linux environment, you only need to modify the ndk-build. cmd to ndk-build

Configuring Eclipse Auto-Compilation Ndk/jni

Related Article

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.