Unable to find CMake in Android Studio

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

    Check this, I think this site explains what you need:

    https://codelabs.developers.google.com/codelabs/android-studio-cmake/index.html?index=..%2F..%2Findex#0

    Remember to check the "What you'll need"

    Update:

    NDK: https://developer.android.com/ndk/downloads/index.html source: https://developer.android.com/ndk/index.html

    CMake: https://cmake.org/files/v3.7/cmake-3.7.1-win64-x64.zip source: https://cmake.org/

    LLDB (Just for Debian systems): http://apt.llvm.org/ source: http://lldb.llvm.org/download.html

    Once you download these files, copy to your SDK folder (normally in: "C:\android-sdk\") You can localize the folder here:

    1. File -> project Structure into Project Structure
    2. Left -> SDK Location

    Then you can continue with the previous guide after the downloads :)

提交回复
热议问题