question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

error Unrecognized command "run-android"

See original GitHub issue
error 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:closed
  • Created 4 years ago
  • Comments:6

github_iconTop GitHub Comments

9reactions
react-native-botcommented, Nov 27, 2019

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.

The "Resolution: Old Version" label will be removed automatically once you edit your original post with the results of running `react-native info` on a project using the latest release.
3reactions
devonwesleycommented, Dec 11, 2019

For me I fixed it when I downgraded my react-native version from ‘0.61.x’ to ‘0.59.x’.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found