diff --git a/android/build.gradle b/android/build.gradle index f3f7101d..53178e3b 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -17,12 +17,17 @@ buildscript { allprojects { repositories { - google() - jcenter() + mavenLocal() + maven { + // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm + url("$rootDir/../node_modules/react-native/android") + } maven { - // All of React Native (JS, Android binaries) is installed from npm - url "$rootDir/../node_modules/react-native/android" + // Android JSC is installed from npm + url("$rootDir/../node_modules/jsc-android/dist") } + google() + jcenter() } }