About Android NDK

Source: Internet
Author: User

The Android NDK is the relevant toolset for the Android SDK to extend the functionality of the Android SDK.

ANDROIDNDK is not a separate tool, it is a comprehensive toolset that contains APIs, cross compilers, linker, debuggers, build tools, documentation, and sample applications.

some of the main components of the Android NDK :

· ARM, x86, and MIPS cross compilers

• Build Systems

· Java Native Connect oral file

· C Library

· Math Library

· POSIX threads

• Smallest C + + library

· Zlib Compression Library

• Dynamic Link Library

· Android Log Library

· Android Pixel Buffer Library

· Android native App APIs

· OpenGL ES 3D Graphics Library

· OpenSL ES Native Audio Library

· OpenMAX Al Minimum Support

Android NDK structure (some important files and subdirectories):

Ndk-build: The shell script is the starting point for the Android NDK build system.

NDK-GDB: The shell script allows native components to be debugged with the gun debugger.

Ndk-stack: This shell script can help analyze the stack trace when the native component crashes.

Build: This directory contains all the modules of the Android NDK build system.

Platforms: This directory contains header files and library files that support different versions of Android target. These documents are automatically referenced by the Android NDK build system based on the specific Android version.

Samples: This directory contains sample applications that can reflect the performance of ANDROIDNDK. Helps learn how to use the features of the Android NDK.

Sorces: This directory contains some shared modules that developers can import into an existing Android NDK project.

Toolchains: This directory contains the cross-compiler of the different target-machine architectures supported by the Android NDK currently. The Android NDK currently supports the arm, X86, and MIPS architectures. The Android NDK build system uses a different cross-compiler based on the selected architecture.

Note: The first time you use the workspace for Android NDK development, you need to specify the location of the Android NDK.

Preference-->android-->ndk-->browse selected installation location, the NDK location selected is only valid for the current workspace.

About Android NDK

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.