Unable to start an Android emulator in IDX React Native project after executing the 'reset-project' command

I started a new react native project in IDX. Initially, everything went smooth and I could see the Android Expo simulator and the example app opened.
Then I ran the ‘reset-project’ command using npm and then when I tried the emulator, it didn’t start up. The existing emulator would not Hard Restart and showed ‘Cannot connect to Metro’ message.

Then when I tried restarting the server and typing in ‘a’ to start the Android emulator, an error message was displayed: ‘An error occurred while launching the application. Error while executing command ‘/home/user/buses/node_modules/.bin/react-native run-android --no-packager’ (error code 101)
Android project not found. (error code 1203) (error code 303)’ and this popup appeared.

Getting similar things where the web preview is fine but the emulator is not showing anything but the idx logo. Tried running several things and npm run android but get this error:

Error: /opt/android/platform-tools/adb -s emulator-5554 emu avd name exited with non-zero code: 1

Any help or advice for this please. would be good to finally be able to start making apps on this.