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