Check your build.gradle file for your application module. Mine was like the default Android project:
externalNativeBuild { cmake { path "CMakeLists.txt" } }
I deleted the cmake section and ran the project again, and then finally the โLink C ++ Project with Gradleโ project was available.
source share