繁体   English   中英

我正在构建反应原生应用程序。 在 android 构建中出现一些错误

[英]I am building react native app . getitng some error in android build

我的反应原生应用程序 android 版本出现问题,弹出此错误消息


Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':react-native-reanimated'.
> com.android.builder.errors.EvalIssueException: CMake '3.18.1' was not found in SDK, PATH, or by cmake.dir property.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

然后构建失败,如果有人知道这个问题,请帮我解决这个问题,我使用的是地铁而不是 expo

  • 打开 SDK 管理器
  • 切换到 SDK 工具选项卡
  • 安装CMake

在此处输入图像描述

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM