build cmake gradle
android {
...
defaultConfig {...}
buildTypes {...}
externalNativeBuild {
cmake {
// Provides a relative path to your CMake build script.
path "CMakeLists.txt"
}
}
}