
At the time of writing this article, Kotlin is not officially supported by this tool, but as Java and Kotlin has an excellent interoperability, so you can use this in Kotlin projects as well. Luckily, there is a built in tool in the Java compiler, that can generate native bindings from a Java class.

If you are just starting to familiarize yourself with it, a better place to start is the official documentation: This is not an introduction to Android NDK. In this article, I will show you how to simplify this task. In Android on the other hand, it is a much more complex task to integrate a C library. In the Choose your project section of the wizard, select the Native C++. The Android Native Development Kit (NDK): a toolset that lets you use C and C++ code. It is actually pretty simple to integrate C code into an iOS application written in Swift. Add C and C++ code to your project Download the NDK and build tools. You can integrate C libraries in both Android and iOS apps. If you are working on an app with a lot of calculations (games, CADs, image processing, cryptography etc.), you might want to consider implementing some of those calculations in a C library. Why would you want to use C in your Android project? I can give you two good reasons for that:
