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?
As for now,
react-native run-android --help
Have only
--install-debug
in available options. Looks like this error message is outdated:
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With