Tell us which versions you are using:
Platform
What went wrong:
A problem occurred configuring project ':react-native-image-crop-picker'.
Could not resolve all dependencies for configuration ':react-native-image-crop-picker:_debugPublishCopy'.
Could not find com.github.yalantis:ucrop:2.2.1-native.
Try:
allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
}
==銆媍ut no ice


Thanks,
@ivpusic
@ivpusic , and if you keep BOTH maven lines? Like this. It worked for me.
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
}
maven { url "https://jitpack.io" }
@amberv0
I tried it.
It doesn't work for me.
can someone solve this problem? i have this problem also... please help
@amberv0
I tried it.
it worked for me.
just install and link and do the changes as suggested by @amberv0 and it worked, thanks.
@amberv0
Your solution worked for me. Thank you
@amberv0
ths,it worked for me
closing this. readme file is also now updated with comment from @amberv0
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 resolve com.android.tools.build:gradle:3.1.4.
Required by:
project :react-native-image-picker
Could not resolve com.android.tools.build:gradle:3.1.4.
Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.1.4/gradle-3.1.4.pom'.
Could not HEAD 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.1.4/gradle-3.1.4.pom'.
dl.google.com: Name or service not known
Could not resolve com.android.tools.build:gradle:3.1.4.
Could not get resource 'https://jcenter.bintray.com/com/android/tools/build/gradle/3.1.4/gradle-3.1.4.pom'.
Could not HEAD 'https://jcenter.bintray.com/com/android/tools/build/gradle/3.1.4/gradle-3.1.4.pom'.
jcenter.bintray.com: Name or service not known
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
Most helpful comment
@amberv0
I tried it.
It doesn't work for me.