error Unrecognized command "run-android"
See original GitHub issueerror Unrecognized command "run-android".
info Run "react-native --help" to see a list of all available commands.
System:
OS: Linux 4.19 Debian GNU/Linux 10 (buster) 10 (buster)
CPU: (4) x64 Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
Memory: 172.18 MB / 7.58 GB
Shell: 5.0.3 - /bin/bash
Binaries:
Node: 10.17.0 - /usr/bin/node
Yarn: 1.19.1 - /usr/bin/yarn
npm: 6.13.0 - /usr/bin/npm
SDKs:
Android SDK:
API Levels: 23, 26, 27, 28
Build Tools: 27.0.3, 28.0.3, 29.0.0
npmPackages:
react: 16.6.3 => 16.6.3
react-native: 0.58.6 => 0.58.6
React Native version: 0.58.6
Steps To Reproduce
after updating my react native cli from 2.1 to 3.0.0 I’m facing it with a project with “react-native”: “0.58.6”, but not with 0.6x
Issue Analytics
- State:
- Created 4 years ago
- Comments:6
Top Results From Across the Web
react-native run-android is unrecognized - Stack Overflow
In Android Studio click in Tools -> SDK Manager -> in System Settings click in Android SDK -> choose ...
Read more >[cli] Command run-android unrecognized. #2880 - GitHub
If you are using a version of react-native-cli less than 0.12, any error will get swallowed and you'll see the error "Command run-android...
Read more >react-native run-android Command `run-android ... - YouTube
When you type command "react-native run - android " and you get an error this " Command ` run - android ` unrecognized....
Read more >How to Fix Unrecognized command start React Native Error
Solution : This needs to be run from inside the project's folder. cd into the React Native project, and this error should go...
Read more >[Solved]-react-native run-android is unrecognized-React Native
error Unrecognized command "run-android". info Run "react-native --help" to see a list of all available commands.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It looks like you are using an older version of React Native. Please update to the latest release, v0.61 and verify if the issue still exists.
For me I fixed it when I downgraded my react-native version from ‘0.61.x’ to ‘0.59.x’.