What is Android NDK?

What is Android NDK?

  • NDK (Native Development Kit) is a set of tools that enables you to easily include native code written in C or C++ in your Android applications.
  • The NDK uses the JNI mechanism to call functions from Java to C and C++.
  • The NDK was introduced with Android version 1.5. In version 2.3 some major improvements were added like lifecycle events callbacks.

What is Android NDK?

  • In many cases using a native code can reproduce better performance.
  • You may want to use existing C or C++ libraries in your application.

Downloading and Installing NDK

download NDK from: http://developer.android.com/sdk/ndk/index.html according to your development OS.
Unzip it anywhere you like.