Skip to content

Instantly share code, notes, and snippets.

@eltonsantos
Created February 1, 2021 20:45
Show Gist options
  • Select an option

  • Save eltonsantos/a6293ade9d7c1f2e21a27f009b44ae5e to your computer and use it in GitHub Desktop.

Select an option

Save eltonsantos/a6293ade9d7c1f2e21a27f009b44ae5e to your computer and use it in GitHub Desktop.
elton@LAPTOP-36JNKUER MINGW64 /d/elton/Documents/Aplicacoes/gostack14/nivel5/desafio-react-native-delivery (master)
$ npx react-native run-android --variant=debug --deviceId emulator-5554
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
Jetifier found 1121 file(s) to forward-jetify. Using 12 workers...
info Starting JS server...
error No Android device or emulator connected.
elton@LAPTOP-36JNKUER MINGW64 /d/elton/Documents/Aplicacoes/gostack14/nivel5/desafio-react-native-delivery (master)
$ npx react-native run-android
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
Jetifier found 1121 file(s) to forward-jetify. Using 12 workers...
info JS server already running.
info Launching emulator...
error Failed to launch emulator. Reason: Could not start emulator within 30 seconds..
warn Please launch an emulator manually or connect a device. Otherwise app may fail to launch.
info Installing the app...
> Task :app:stripDebugDebugSymbols UP-TO-DATE
Compatible side by side NDK version was not found.
> Task :app:installDebug FAILED
Skipping device 'emulator-5554' (emulator-5554): Device is OFFLINE.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.2/userguide/command_line_interface.html#sec:command_line_warnings
142 actionable tasks: 2 executed, 140 up-to-date
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:installDebug'.
> com.android.builder.testing.api.DeviceException: No online devices found.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 17s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Run CLI with --verbose flag for more details.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment