Unable to find CMake in Android Studio

后端 未结 13 1059
暖寄归人
暖寄归人 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:50

    For me, mac OS Android studio. in File->Project Structure-> Project, I changed Gradle version to 4.4 and Android plugin version to 3.1.0, then it gets good.

    Plus, you can also change Android plugin version in gradle-> classpath 'com.android.tools.build:gradle:3.1.0'

提交回复
热议问题