程序员潇然 发表于 2022-8-25 14:10:42

[CXX1300] CMake '3.18.1' was not found in SDK, PATH, or by cmake.dir property.

CMake '3.18.1' was not found in SDK, PATH, or by cmake.dir property.

Android Studio 开发,出现上面所述问题。

!(data/attachment/forum/202208/25/140900gbwb2wxw240qhx2b.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/300 "image.png")

!(data/attachment/forum/202208/25/140907yaz1pea7e1pd1du1.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/300 "image.png")

### 原因

错误提示很清晰,CMake 没有,所以到Android SDK管理里面对其进行安装

### 下载cmake

!(data/attachment/forum/202208/25/140940nwx0giu8kiclgquu.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/300 "image.png")

注意右下角的

!(data/attachment/forum/202208/25/141214e9vbg9rp0gla595z.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/300 "image.png")

勾选了才会显示版本列表。

!(data/attachment/forum/202208/25/140951d7yvmlvx7zxyo800.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/300 "image.png")

!(data/attachment/forum/202208/25/141009hf1zd579nc95byky.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/300 "image.png")

!(data/attachment/forum/202208/25/141017mnrorytfynhtf61y.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/300 "image.png")

!(data/attachment/forum/202206/16/141330jha7st9soow8772i.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/300 "common_log.png")
`转载务必注明出处:程序员潇然,疯狂的字节X,https://crazybytex.com/thread-141-1-1.html `
页: [1]
查看完整版本: [CXX1300] CMake '3.18.1' was not found in SDK, PATH, or by cmake.dir property.