uCrop icon indicating copy to clipboard operation
uCrop copied to clipboard

ERROR: Failed to resolve: com.github.yalantis:ucrop:2.2.5

Open mahesh-co1 opened this issue 4 years ago • 6 comments

Not able to install in Android studio. Continuosly getting this error not matter which version I use or whether it is native or not.

mahesh-co1 avatar May 22 '20 13:05 mahesh-co1

I am also facing same issue " ERROR: Failed to resolve: com.github.yalantis:ucrop:2.2.5 " , @mahesh-co1 did you able to resolve it ??

harmeet-sidhu avatar May 27 '20 20:05 harmeet-sidhu

Same problem. If you solved this ,please info me. Thanks.

chang-guofeng avatar May 29 '20 17:05 chang-guofeng

I fix it by add repositories { google() jcenter() maven { url "https://jitpack.io" } } to app/build.gradle

https://github.com/Yalantis/uCrop/issues/490

chang-guofeng avatar May 29 '20 18:05 chang-guofeng

add it on allprojects { } not in buildscript { }

alkawero avatar Sep 27 '20 01:09 alkawero

hi, any news?

Ayala-Android avatar Jul 29 '21 15:07 Ayala-Android

Same problem, and resolved it. I hope this help.

in app.gradle

implementation 'com.github.yalantis:ucrop:2.2.6'

in settings.gradle

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
        maven { url 'https://jitpack.io' } //put here
        jcenter()
    }
}

Ella-Y avatar Jul 11 '23 04:07 Ella-Y