I am trying to run two react-native apps on two separate emulators by following these instructions. I run the following command:
npx react-native run-android --port 8081 --deviceId emulator-5556
However, instead of generating a debug build, the system tries to create a release build. Interestingly, if I run npx react-native run-androidwithout any extra options, I get a debug build.
I tried to force a debug build by adding --variant=debug to the command and also setting bundleInDebug: false in app/build.gradle but it didn't help.
Is there a way to run a debug build in this situation?