Unable to find CMake in Android Studio

后端 未结 13 1083
暖寄归人
暖寄归人 2020-12-07 22:37

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

13条回答
  •  长情又很酷
    2020-12-07 22:55

    For me what solved as taking off the "version" option in my gradle

     externalNativeBuild {
            cmake {
                path "src/main/cpp/CMakeLists.txt"
                //version was here
            }
        }
    

提交回复
热议问题