Native (C/C++) Code in Android Apps - Part 2
· ☕ 6 min read
[!NOTE]
This article requires that you have already read part 1 of this article. If you haven’t read part 1 yet, please read it first, then come back to part 2.
Prerequisites Install & configure: Android NDK, and CMake Add your native dependency Set up linked CMake project for JNI bindings Writing Binding Code If you recall, we had a Concat.concat(args: Collection<String>): String method in kotlin, and we had created a corresponding JNI function through Android Studio’s suggested action.