Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. ...
  2. allprojects {
  3. repositories {
  4. google() // <--- add this line at the beginning (to avoid 'Could not resolve all files for configuration ':app:debugCompileClasspath'.' error)
  5. mavenLocal()
  6. jcenter()
  7. maven {
  8. // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
  9. url "$rootDir/../node_modules/react-native/android"
  10. }
  11. }
  12. }
  13.  
  14. task wrapper(type: Wrapper) {
  15. gradleVersion = '4.4'
  16. distributionUrl = distributionUrl.replace("bin", "all")
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement