Advertisement
Guest User

Untitled

a guest
Jun 14th, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. C:\Users\wytrzeszcz\Documents\git\react-native-camera\Example>react-native run-android
  2. Starting JS server...
  3. 'adb' is not recognized as an internal or external command,
  4. operable program or batch file.
  5. Building and installing the app on the device (cd android && gradlew.bat installDebug)...
  6.  
  7. FAILURE: Build failed with an exception.
  8.  
  9. * Where:
  10. Build file 'C:\Users\wytrzeszcz\Documents\git\react-native-camera\Example\android\build.gradle' line: 24
  11.  
  12. * What went wrong:
  13. A problem occurred evaluating root project 'Example'.
  14. > Could not find method android() for arguments [build_30jmx9eqbxkzx18r3qab0zswt$_run_closure2@397ef2] on root project 'Example'.
  15.  
  16. * Try:
  17. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
  18.  
  19. BUILD FAILED
  20.  
  21. Total time: 3.69 secs
  22. Could not install the app on the device, read the error above for details.
  23. Make sure you have an Android emulator running or a device connected and have
  24. set up your Android development environment:
  25. https://facebook.github.io/react-native/docs/android-setup.html
  26.  
  27. (node:9080) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'message' of undefined
  28. (node:9080) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
  29.  
  30. C:\Users\wytrzeszcz\Documents\git\react-native-camera\Example>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement