Created
July 10, 2019 21:52
-
-
Save CarlosDanielDev/c5e6c7bb9b06cc4268c0803f41a1458e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo react-native run-android | |
| info Starting JS server... | |
| info Installing the app... | |
| FAILURE: Build failed with an exception. | |
| * What went wrong: | |
| A problem occurred configuring project ':app'. | |
| > SDK location not found. Define location with an ANDROID_SDK_ROOT environment variable or by setting the sdk.dir path in your project's local properties file at '/home/daniel/Daniel/app_beer/Beta/android/local.properties'. | |
| * Try: | |
| Run with --stacktrace option to get the stack trace. Run with --info or --debugoption to get more log output. Run with --scan to get full insights. | |
| * Get more help at https://help.gradle.org | |
| BUILD FAILED in 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 app:installDebug -PreactNativeDevServerPort=8081 | |
| FAILURE: Build failed with an exception. | |
| * What went wrong: | |
| A problem occurred configuring project ':app'. | |
| > SDK location not found. Define location with an ANDROID_SDK_ROOT environment variable or by setting the sdk.dir path in your project's local properties file at '/home/daniel/Daniel/app_beer/Beta/android/local.properties'. | |
| * Try: | |
| Run with --stacktrace option to get the stack trace. Run with --info or --debugoption to get more log output. Run with --scan to get full insights. | |
| * Get more help at https://help.gradle.org | |
| BUILD FAILED in 4s | |
| at checkExecSyncError (child_process.js:637:11) | |
| at execFileSync (child_process.js:655:13) | |
| at runOnAllDevices (/home/daniel/Daniel/app_beer/Beta/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:75:39) | |
| at buildAndRun (/home/daniel/Daniel/app_beer/Beta/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/index.js:137:41) | |
| at then.result (/home/daniel/Daniel/app_beer/Beta/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/index.js:103:12) | |
| at processTicksAndRejections (internal/process/task_queues.js:86:5) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment