functionland/fx-components

Execution failed for task ':expo-gl-cpp:buildCMakeDebug[arm64-v8a]'.

ghorbani-m opened this issue · 0 comments

I have tried to build the Box app on a Windows machine with yarn android box command, but got some errors.
The first issue was sh command issue on windows:

Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
'sh' is not recognized as an internal or external command,

So for solving this issue I used Git Bash to run the command yarn android box and it solved this issue.

But after that, I got another error to build the expo-gl-cpp package.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':expo-gl-cpp:buildCMakeDebug[arm64-v8a]'.
> Build command failed.
  Error while executing process ...\Android\sdk\cmake\3.18.1\bin\ninja.exe with arguments {-C ...\apps-monorepo\node_modules\expo-gl-cpp\android\.cxx\Debug\226i586d\arm64-v8a expo-gl}
  ninja: Entering directory `..\apps-monorepo\node_modules\expo-gl-cpp\android\.cxx\Debug\226i586d\arm64-v8a'

CMake versions that are available on my machine :
image