我使用npx运行此应用程序时创建了新的react-native应用程序react-native run-android这个错误正在显示
BUILD FAILED in 1m 4s
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
FAILURE: Build failed with an exception.
似乎您尚未在计算机中设置android环境。如果您还没有,请点击此链接并选择React Native CLI快速入门React native quickstart with development configuration for each platform