Build and test Android JAVA NDK

Source: Internet
Author: User
1. Download the NDK,

Android-ndk-r9c-windows-x86_64.zip, unzip the NDK as follows:

2. To compile sample samples from the NDK:

Import the HELLO-JNI project in sample and the results of the imported project are as follows:

3. Right-click the project:hellojni--> right-click--->properties--->builder

4. New Builder---"program

5, click OK, then pop up a window, where location is filled with ndk-build.cmd location:

Click OK, and the Ndk-builder will be referred to the front. As follows:

6. Click on the Android project and right-click on the "Run as---" Android application.:

The above phenomenon indicates that Hellojni was compiled.

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.