I have recently upgraded my app's react-native version to 0.60, and want to run the app on an android emulator to see if everything is working as it should be. When I ran the command react-native run-android I get an error that says: 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.
- What went wrong:
Could not determine the dependencies of task ':app:preDebugBuild'.
Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'. What can I do to successfully run my app?
echo $ANDROID_HOME
? – schoggesecho %ANDROID_HOME%
. Or just make sure that you have Android Studio and environment set up correctly. Anyways I'm not quite sure if this is the problem. – schogges