New Ndk-build Use

Source: Internet
Author: User

The NDK is a useful tool in Android development that allows you to build the native method, which is a library (. dll or. So file) that is called by the Java code through the Jni method.


The new version of NDK,R7 more than the version, making the compilation library becomes very simple. Cygwin plugins are no longer required. So, it's very simple. You do not need to do it in eclipse to compile the required libraries.

The specific operation:

1. Download, unzip to the directory;


2. Set the environment variable in the system, that is, add the path of the NDK in path


3, the above installation ends, the above situation indicates that can be used. Specific use: You may also encounter the above hints, this time need to do is:

Make sure that the files you need to compile are placed in the Jni folder.


It would be nice to fix a problem with further code.


New Ndk-build Use

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.