Android Studio 3.2.1 中的 CMake 安装选项在哪里?

Where is the CMake install option in Android Studio 3.2.1?

我正在尝试在 Android Studio 3.2.1 中安装 NDK,并且我正在按照 here

中描述的过程进行操作

它说我需要select LLDB,Cmake和NDK在SDK管理器中形成列表,但我的电脑里只能看到LLDB和NDK,没有CMake

我需要做什么才能安装 CMake 并开始使用 C 进行编码?或者只安装 LLDB 和 NDK 就足够了吗?

根据 developer.android 站点上的文档:

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.

您只能使用 Cmake 或 NDK 中的一种(如您所见,NDk 更好,但仅针对 Android 开发)。

here 是 link 的文档以获取更多信息。

如果您仍然无法通过 sdk 管理器安装 cmake,请确保您使用的是 64 位版本的 android studio。

有关如何安装 Cmake 或 NDK 的更多信息,请参阅此 answer