You can add C and C++ code to your Android project by placing the code into a cpp directory in your project module. … Android Studio supports CMake , which is good for cross-platform projects, and ndk-build, which can be faster than CMake but only supports Android.