error Unrecognized command “run-android”. info Run “react-native –help” to see a list of all available commands.

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

1 possible answer(s) on “error Unrecognized command “run-android”. info Run “react-native –help” to see a list of all available commands.