Android NDK Project structure (observed in eclipse environment)

Source: Internet
Author: User

An Android project with native components contains 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 how the native component was built.

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

Libs: The directory was created during the build of the Android NDK build system.

It contains a separate subdirectory for the specified target machine architecture, such as Arm's Armeabi. The directory is included in the APK file during the packaging process.

OBJ: This is an intermediate directory where the source code is compiled and the target files are saved in that directory. It is a good idea for developers 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 build system is key to mastering the Android NDK and all its components.

Android NDK Project structure (observed in eclipse environment)

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.