React-native-image-crop-picker: Could not resolve all dependencies for configuration ':react-native-image-crop-picker:_debugPublishCopy'.

Created on 12 Jan 2018  路  8Comments  路  Source: ivpusic/react-native-image-crop-picker

Tell us which versions you are using:

  • react-native-image-crop-picker v0.19.1
  • react-native v0.51.0

Platform

  • Android

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
image
image
Thanks,
@ivpusic

Most helpful comment

@amberv0
I tried it.
It doesn't work for me.

All 8 comments

@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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

althurzard picture althurzard  路  3Comments

aterribili picture aterribili  路  3Comments

Martian2Lee picture Martian2Lee  路  3Comments

equesteo picture equesteo  路  3Comments

DISKONEKTeD picture DISKONEKTeD  路  3Comments