Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execution failed for task ':app:configureCMakeDebug[arm64-v8a]'. > > [CXX1300] CMake '3.22.1' was not found in SDK, PATH, or by cmake.dir property. #47720

Open
mdalishanali opened this issue Nov 19, 2024 · 4 comments
Labels
Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. Needs: Version Info

Comments

@mdalishanali
Copy link

Description

  • What went wrong:
    Execution failed for task ':app:configureCMakeDebug[arm64-v8a]'.

[CXX1300] CMake '3.22.1' was not found in SDK, PATH, or by cmake.dir property.

Steps to reproduce

Setup the React Native Environment in Windows 11 and download the latest everythings.

React Native Version

latest version

Affected Platforms

Build - Windows

Output of npx react-native info

Execution failed for task ':app:configureCMakeDebug[arm64-v8a]'.
> [CXX1300] CMake '3.22.1' was not found in SDK, PATH, or by cmake.dir property.

Stacktrace or Logs

Execution failed for task ':app:configureCMakeDebug[arm64-v8a]'.
> [CXX1300] CMake '3.22.1' was not found in SDK, PATH, or by cmake.dir property.

Reproducer

https://github.com/react-native-community/reproducer-react-native

Screenshots and Videos

Execution failed for task ':app:configureCMakeDebug[arm64-v8a]'.

[CXX1300] CMake '3.22.1' was not found in SDK, PATH, or by cmake.dir property.

@react-native-bot
Copy link
Collaborator

Warning

Could not parse version: We could not find or parse the version number of React Native in your issue report. Please use the template, and report your version including major, minor, and patch numbers - e.g. 0.76.2.

@react-native-bot react-native-bot added Needs: Version Info Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. and removed Needs: Triage 🔍 labels Nov 19, 2024
@react-native-bot
Copy link
Collaborator

Warning

Could not parse version: We could not find or parse the version number of React Native in your issue report. Please use the template, and report your version including major, minor, and patch numbers - e.g. 0.76.2.

@react-native-bot
Copy link
Collaborator

Warning

Missing reproducer: We could not detect a reproducible example in your issue report. Please provide either:

@migueldaipre
Copy link
Collaborator

Hey @mdalishanali,

You need to set up Cmake in Android Studio. See https://developer.android.com/studio/projects/install-ndk.

If it doesn't works, please add a reproducer with a valid link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. Needs: Version Info
Projects
None yet
Development

No branches or pull requests

3 participants