What is NDK toolchain?

NDK (Native Develop Toolkit) is a toolchain from Android official, originally for users who writes native C/C++ code as JNI library . It’s not designed for compiling standalone programs (./a. out) and not compatible with automake/cmake etc.

Read more

Does NDK use clang?

The NDK uses Clang as its C/C++ compiler and Binutils for linking, archiving, and object file manipulation. Binutils provides both BFD and gold for linking. LLVM’s LLD is also included for testing. AOSP uses LLD by default for most projects and the NDK is expected to move to it in the future.

Read more

What is NDK and CMake?

The Android Native Development Kit (NDK): a set of tools that allows you to use C and C++ code with Android. CMake: the external build tool that used to compile and build your native codes. LLDB: the debugger Android Studio uses to debug native code.

Read more