Advertisement
Guest User

Untitled

a guest
Nov 5th, 2018
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. yarn android
  2. yarn run v1.10.0
  3. $ react-native run-android
  4. Starting JS server...
  5. Building and installing the app on the device (cd android && ./gradlew installDebug)...
  6. The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0.
  7. The TaskInputs.source(Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instead.
  8. downloadRobolectricDependencies C:///Aboitiz.CEH/android/build/robolectric-dependencies
  9.  
  10. FAILURE: Build failed with an exception.
  11.  
  12. * Where:
  13. Build file 'C://Aboitiz.CEH/node_modules/react-native-svg/android/build.gradle' line: 52
  14.  
  15. * What went wrong:
  16. A problem occurred evaluating project ':react-native-svg'.
  17. > Could not find method implementation() for arguments [com.facebook.react:react-native:+] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
  18.  
  19. * Try:
  20. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
  21.  
  22. BUILD FAILED
  23.  
  24. Total time: 9.48 secs
  25. Could not install the app on the device, read the error above for details.
  26. Make sure you have an Android emulator running or a device connected and have
  27. set up your Android development environment:
  28. https://facebook.github.io/react-native/docs/getting-started.html
  29. ✨  Done in 18.14s.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement