I am trying to add Expo to a bare React Native project. I have upgraded to RN 0.74.2 and EXPO SDK 51. When I run “npx expo run:android” the app doesn’t build and I get the following error(s”0
Error: /Users/user/Desktop/App/android/gradlew exited with non-zero
code: 1 Error: /Users/user/Desktop/App/android/gradlew exited with
non-zero code: 1
at ChildProcess.completionListener (/Users/user/Desktop/App/node_modules/@expo/cli/node_modules/@expo/spawn-async/build/spawnAsync.js:52:23)
at Object.onceWrapper (node:events:634:26)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5)
…
at Object.spawnAsync [as default] (/Users/user/Desktop/App/node_modules/@expo/cli/node_modules/@expo/spawn-async/build/spawnAsync.js:17:21)
at spawnGradleAsync (/Users/user/Desktop/App/node_modules/@expo/cli/build/src/start/platforms/android/gradle.js:72:46)
at Object.assembleAsync (/Users/user/Desktop/App/node_modules/@expo/cli/build/src/start/platforms/android/gradle.js:52:18)
at runAndroidAsync (/Users/user/Desktop/App/node_modules/@expo/cli/build/src/run/android/runAndroidAsync.js:36:24)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) error Command failed with
exit code 1.