Example android project "AwesomeProject" throws up error on Windows 10

This result of running the project is shown below. A Samsung 21+ configured for the developer mode was on the USB drive. The phone also had an Expo Go client tested on the @Snack.

Also, opened the android project in Android Studio Snow cat which imported a bunch of Expo related files but the build failed as it could not compile resource files.

C:\React-native\AwesomeProject>npm run android

> awesomeproject@1.0.0 android
> expo run:android

No Android connected device found, and no emulators could be started automatically.
Please connect a device or create an emulator (https://docs.expo.dev/workflow/android-studio-emulator).
Then follow the instructions here to enable USB debugging:
https://developer.android.com/studio/run/device.html#developer-device-options. If you are using Genymotion go to Settings -> ADB, select "Use custom Android SDK tools", and point it at your Android SDK directory.
Error: No Android connected device found, and no emulators could be started automatically.
Please connect a device or create an emulator (https://docs.expo.dev/workflow/android-studio-emulator).
Then follow the instructions here to enable USB debugging:
https://developer.android.com/studio/run/device.html#developer-device-options. If you are using Genymotion go to Settings -> ADB, select "Use custom Android SDK tools", and point it at your Android SDK directory.
    at Object.getAllAvailableDevicesAsync (c:\Users\TestUser\AppData\Roaming\npm\node_modules\expo-cli\node_modules\xdl\src\Android.ts:117:11)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at ensureEmulatorOpenAsync (c:\Users\TestUser\AppData\Roaming\npm\node_modules\expo-cli\src\commands\run\android\resolveDeviceAsync.ts:9:21)
    at resolveDeviceAsync (c:\Users\TestUser\AppData\Roaming\npm\node_modules\expo-cli\src\commands\run\android\resolveDeviceAsync.ts:23:12)
    at resolveOptionsAsync (c:\Users\TestUser\AppData\Roaming\npm\node_modules\expo-cli\src\commands\run\android\runAndroid.ts:71:18)
    at actionAsync (c:\Users\TestUser\AppData\Roaming\npm\node_modules\expo-cli\src\commands\run\android\runAndroid.ts:1

Do I have to have certain version of java installed on the computer for this to work?