简体   繁体   English

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

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

I am having issue with my react native app android build having this error message pop up我的反应原生应用程序 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

and then the build fails if anyone knows this issue please could help me solve this, im using metro not expo然后构建失败,如果有人知道这个问题,请帮我解决这个问题,我使用的是地铁而不是 expo

  • Open SDK Manager打开 SDK 管理器
  • Switch to the SDK Tools tab切换到 SDK 工具选项卡
  • Install CMake安装CMake

在此处输入图像描述

暂无
暂无

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

相关问题 我正在尝试使用 react-native 进行简单的路由,但我遇到了一些类似这样的错误 Failed building Javascript bundle - I am trying to do simple routing with react-native but I am getting some error like this Failed building Javascript bundle 我正在尝试构建 react native 应用程序,但出现此错误:react native version mismatch expo - I am trying to build react native app and I get this error: react native version mismatch expo 建立应用程式后,我在android studio中遇到错误,该怎么办? - I am facing some errors in android studio after building the app, What can I do? 当我尝试在 android 上运行 React Native 应用程序时出错 - getting error when i try to run react native app on android 我在制作新的反应时遇到错误 - 本机应用程序 - I am getting an error when i was making a new react - native app 在React Native中创建android debug build时出错 - Error creating android debug build in react native React Native(Netflix App)Android构建错误-“在Connect(App)的上下文或道具中找不到'store'” - React Native (Netflix app) Android build error - “Could not find 'store' in either the context or props of Connect(App)” 构建应用程序时 react-native-hms-location 错误 - react-native-hms-location error when building app 在 react-native run-android 的开发版本上出现错误“Task:app:processDebugResources FAILED” - Error "Task :app:processDebugResources FAILED" on dev build of react-native run-android 将Button添加到我的React Native App时出现了一些错误? - I have Some Error when add Button to my React Native App?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM