Android is based on Linux Kernel so it’s definitely possible to compile & run C/C++ programs on Android .
Read moreCan I do C++ in Android?
You can program in C/C++ using the Android NDK . You’ll have to wrap your c++ codebase in a static library and load that through a Java wrapper & JNI. The standard NDK does not support RTTI and a lot of the functionality of standard c++ is also not available such as std::string, etc.
Read more