Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error: unknown option `--debug' React Native

Tags:

react-native

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?

like image 262
Swoopyy Avatar asked Jul 31 '26 18:07

Swoopyy


1 Answers

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.
like image 113
v.babak Avatar answered Aug 04 '26 14:08

v.babak



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!