D:\para_o_PENDRIVE\cursos\Alura\appCLI> npx react-native run-android info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag. Jetifier found 878 file(s) to forward-jetify. Using 8 workers... info Starting JS server...
- daemon not running; starting now at tcp:5037
- daemon started successfully
info Launching emulator...
error Failed to launch emulator. Reason: Emulator exited before boot..
warn Please launch an emulator manually or connect a device. Otherwise app may fail to launch.
info Installing the app...
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
Task :app:checkDebugAarMetadata FAILED 4 actionable tasks: 2 executed, 2 up-to-date
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':app:checkDebugAarMetadata'.
Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Could not resolve com.facebook.react:react-native:+. Required by:
project :app
Could not resolve com.facebook.react:react-native:0.65.1. java.lang.NullPointerException (no error message)
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 16s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':app:checkDebugAarMetadata'.
Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Could not resolve com.facebook.react:react-native:+. Required by:
project :app
Could not resolve com.facebook.react:react-native:0.65.1. java.lang.NullPointerException (no error message)
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 16s
at makeError (D:\para_o_PENDRIVE\cursos\Alura\appCLI\node_modules\@react-native-community\cli-platform-android\node_modules\execa\index.js:174:9)
at D:\para_o_PENDRIVE\cursos\Alura\appCLI\node_modules\@react-native-community\cli-platform-android\node_modules\execa\index.js:278:16
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at runOnAllDevices (D:\para_o_PENDRIVE\cursos\Alura\appCLI\node_modules\@react-native-community\cli-platform-android\src\commands\runAndroid\runOnAllDevices.ts:90:5)
at Command.handleAction (D:\para_o_PENDRIVE\cursos\Alura\appCLI\node_modules\@react-native-community\cli\src\index.ts:145:11)
info Run CLI with --verbose flag for more details.