error: unknown option `--debug' React Native
<p>I got "Could not install the app on the device, read the error above for details. Make sure you have an Android emulator running or a device connected and have set up your Android development environment:" while trying to run my app on the device. Both "react-native run-android --stacktrace" and "react-native run-android --debug" yields "error: unknown option". Any ideas?</p>