0

I am trying to install NDK in Android Studio 3.2.1 and I am following the procedure described here

It says I need to select LLDB, Cmake and NDK form the list in the SDK Manager,but I can only see LLDB and NDK in my computer, and CMake is absent

What do I need to do to install CMake and start coding using C? Or is installing just LLDB and NDK enough?

user13267
  • 6,871
  • 28
  • 80
  • 138

1 Answers1

0

According to the docs on developer.android site:

Android Studio supports CMake, which is good for cross-platform projects, and ndk-build, which can be faster than CMake but only supports Android. Using both CMake and ndk-build in the same module is not currently supported.

You can only use one of the Cmake or NDK(as you see NDk is better but only developed for Android).

here is link of documentation for more info.

If you still have problem with installing cmake by sdk manager, make sure you are using 64 bit version of android studio.

for more information about how you can install Cmake or NDK you can see this answer

SamiAzar
  • 1,260
  • 13
  • 29