mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-03-26 09:14:22 +08:00
Update build.gradle (#45)
gradle 2.2.1 is no more resolved on maven. This resuts in a build error like:
```
* What went wrong:
A problem occurred configuring project ':react-native-image-picker'.
> Could not resolve all artifacts for configuration ':react-native-image-picker:classpath'.
> Could not find any matches for com.android.tools.build:gradle:2.2.+ as no versions of com.android.tools.build:gradle are available.
Searched in the following locations:
- https://jcenter.bintray.com/com/android/tools/build/gradle/maven-metadata.xml
- https://jcenter.bintray.com/com/android/tools/build/gradle/
Required by:
project :react-native-image-picker
```
RNSvg already fix here : e48dbdb08b (diff-c31b32364ce19ca8fcd150a417ecce58)
This commit is contained in:
committed by
Krzysztof Magiera
parent
1cd165e763
commit
bf0cca0bae
@@ -1,13 +1,12 @@
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// Matches the RN Hello World template
|
||||
// https://github.com/facebook/react-native/blob/1e8f3b11027fe0a7514b4fc97d0798d3c64bc895/local-cli/templates/HelloWorld/android/build.gradle#L8
|
||||
classpath 'com.android.tools.build:gradle:2.2.3'
|
||||
classpath 'com.android.tools.build:gradle:3.1.4'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user