簡體   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