[FIXED] 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

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


  • Open SDK Manager
  • Switch to the SDK Tools tab
  • Install CMake (select the version highlighted in your error)

enter image description here

Answered By – Menno Spijker

Answer Checked By – Mildred Charles (Easybugfix Admin)

Leave a Reply

(*) Required, Your email will not be published