Unable to find CMake in Android Studio

后端 未结 13 1040
暖寄归人
暖寄归人 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 23:15

    In my case changing CMake path worked :

    externalNativeBuild {
        /*
          cmake {
              path "CMakeLists.txt"
          }
        */
    
        cmake {
            path 'src/main/jni/opus/CMakeLists.txt'
        }
    }
    
    0 讨论(0)
提交回复
热议问题