Home > Enterprise >  I am building react native app . getitng some error in android build
I am building react native app . getitng some error in android build

Time:09-09

I am having issue with my react native app android build having this error message pop up


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

CodePudding user response:

  • Open SDK Manager
  • Switch to the SDK Tools tab
  • Install CMake

enter image description here

  • Related