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 CMake Android Studio?

An external build tool that works alongside Gradle to build your native library . You do not need this component if you only plan to use ndk-build. CMake require a build script to know how to build your native library. For new projects, Android Studio creates a CMake build script, CMakeLists.

Read more