I need to add C/C++ code in my Android program for which I needed LLDB, CMake, and NDK. I found LLDB and NDK in SDK manager, but CMake is missing from there. I tried manuall
place path of the module where your cmake is exist
if your cmake exist in app main
externalNativeBuild {
cmake {
path "CMakeLists.txt"
}
}
if your cmake exist in any module
externalNativeBuild {
cmake {
path file('../modulelib/CMakeLists.txt')
}
}
where "modulelib" is your library module folder name