Acabei de iniciar o curso de react native 1, fiz todas as configurações iniciais necessárias conforme explicado nas primeiras aulas, subi o emulador, mas quando rodo o react-native run-android recebo o seguinte erro no terminal.
error Failed to install the app. Make sure you have the Android development environment set up: https://facebook.github.io/react-native/docs/getting-started.html#android-development-environment. Run CLI with --verbose flag for more details. Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081 at checkExecSyncError (child_process.js:621:11) at execFileSync (child_process.js:639:15) at runOnAllDevices (C:\workspace\instaluraMobile\node_modules@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:74:39) at buildAndRun (C:\workspace\instaluraMobile\node_modules@react-native-community\cli-platform-android\build\commands\runAndroid\index.js:158:41) at C:\workspace\instaluraMobile\node_modules@react-native-community\cli-platform-android\build\commands\runAndroid\index.js:125:12 at processTicksAndRejections (internal/process/task_queues.js:85:5) at async Command.handleAction (C:\workspace\instaluraMobile\node_modules\react-native\node_modules@react-native-community\cli\build\cliEntry.js:160:7)
Já procurei solução em vários fóruns, porém não obtive sucesso.