I'm working on an Expo 52 project with React Native, and I'm encountering a build failure on Windows 11 (does not happen on Mac) when running npx expo run:android. The error message is:
"C:\Users\steven\AppData\Local\Android\Sdk\cmake\3.22.1\bin\ninja.exe" ^
C++ build system [build] failed while executing: @echo off "C:\Users\steven\AppData\Local\Android\Sdk\cmake\3.22.1\bin\ninja.exe" ^ -C ^ "C:\Users\steven\WebstormProjects\MyApp\node_modules\expo-modules-core\android\.cxx\Debug\4i4v233t\x86_64" ^ expo-modules-core from C:\Users\steven\WebstormProjects\MyApp\node_modules\expo-modules-core\android
Environment: OS: Windows 11 Expo SDK: 52.0.26 React Native: 0.76.6 CMake: 3.22.1 CPU: i9
What I've Tried: Cleaning the project with ./gradlew clean Deleting .gradle and .cxx directories Reinstalling NDK
Has anyone else encountered these issues and has any ideas on what to do? I've tried placing my project on my desktop to avoid long path names as well.