C:\USER_FOLDER\Projects\urbanovaxApp\Vision>npx expo run:android
The system cannot find the path specified.
› Building app...
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
Configuration on demand is an incubating feature.
FAILURE: Build failed with an exception.
* Where:
Settings file 'C:\USER_FOLDER\Projects\urbanovaxApp\Vision\android\settings.gradle' line: 32
* What went wrong:
A problem occurred evaluating settings 'android'.
> Process 'command 'cmd'' finished with non-zero exit value 1
* 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.
BUILD FAILED in 17s
14 actionable tasks: 8 executed, 6 up-to-date
Error: C:\USER_FOLDER\Projects\urbanovaxApp\Vision\android\gradlew.bat app:assembleDebug -x lint -x test --configure-on-demand --build-cache -PreactNativeDevServerPort=8081 -PreactNativeArchitectures=arm64-v8a exited with non-zero code: 1
Error: C:\USER_FOLDER\Projects\urbanovaxApp\Vision\android\gradlew.bat app:assembleDebug -x lint -x test --configure-on-demand --build-cache -PreactNativeDevServerPort=8081 -PreactNativeArchitectures=arm64-v8a exited with non-zero code: 1
at ChildProcess.completionListener (C:\USER_FOLDER\Projects\urbanovaxApp\Vision\node_modules\@expo\spawn-async\src\spawnAsync.ts:67:13)
at Object.onceWrapper (node:events:633:26)
at ChildProcess.emit (node:events:518:28)
at ChildProcess.cp.emit (C:\USER_FOLDER\Projects\urbanovaxApp\Vision\node_modules\cross-spawn\lib\enoent.js:34:29)
at maybeClose (node:internal/child_process:1101:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
...
at spawnAsync (C:\USER_FOLDER\Projects\urbanovaxApp\Vision\node_modules\@expo\spawn-async\src\spawnAsync.ts:28:21)
at spawnGradleAsync (C:\USER_FOLDER\Projects\urbanovaxApp\Vision\node_modules\@expo\cli\src\start\platforms\android\gradle.ts:134:28)
at assembleAsync (C:\USER_FOLDER\Projects\urbanovaxApp\Vision\node_modules\@expo\cli\src\start\platforms\android\gradle.ts:83:16)
at runAndroidAsync (C:\USER_FOLDER\Projects\urbanovaxApp\Vision\node_modules\@expo\cli\src\run\android\runAndroidAsync.ts:62:24)
What is unclear with the error?
Your settings script in line 32 tries to execute some cmd command - which per-se is most often a bad idea - and that command fails.
I used default EXPO command npx run android
Why did you add this irrelevant information? How you launch your Gradle build does not change what the issue is.
I’m new to app development, so I don’t what’s important and what’s not. Can you please help me resolving this error ?
I already told you as much as one can guess from the little information you provided in my first reply, what else do you ask for?