Android NDK project structure (observed in Eclipse environment), androidndk

Source: Internet
Author: User

Android NDK project structure (observed in Eclipse environment), androidndk

Android projects with native components contain a set of additional directories and files.

Jni: This directory contains the source code of the native component and the Android. mk build file that describes the native component build method.

The Android NDK build system uses this directory as the NDK project directory and wants to find it in the project root directory.

Libs: Create this directory during the creation of the Android NDK build system.

It contains independent sub-directories of the specified target machine architecture, such as armeabi of ARM. This directory is included in the APK file during packaging.

Obj: This is an intermediate directory. The target files generated after the source code is compiled are stored in this directory. Developers are advised not to access this directory.

 

The most important component of the Android NDK project is the Android. mk build file, which describes the native components. Understanding the building system is the key to mastering the use of Android NDK and all its components.

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.