uCrop icon indicating copy to clipboard operation
uCrop copied to clipboard

Failed to resolve: com.github.yalantis:ucrop:2.2.6 <a href="open.dependency.in.project.structure">Show in Project Structure dialog</a> Affected Modules: <a href="openFile:C:/andoidprojectfolder/UcropImpl/app/build.gradle">app</a>

Open ManishPanwar556 opened this issue 2 years ago • 3 comments

After applying the depndency of Ucrop library I am getting the above error. I have also added the below lines in project level gradle allprojects { repositories { jcenter() maven { url "https://jitpack.io" } } } but still getting the error.Can anyone tell me how to resolve this error?

Android Studio version is :Android Studio Arctic Fox |2020.3.1 Patch2

ManishPanwar556 avatar Oct 02 '21 15:10 ManishPanwar556

The same thing happened to me, this line of code: maven {url "https://jitpack.io"} put it in the settings.gradle and hit sync

ALDAIR301098 avatar Oct 13 '21 03:10 ALDAIR301098

maven {url "https://jitpack.io"}

Thank you dude! This worked

muokid3 avatar Oct 19 '21 13:10 muokid3

pluginManagement { repositories { google() mavenCentral() gradlePluginPortal() } } dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { google() mavenCentral() maven {url "https://jitpack.io"} } }

rootProject.name = "sgerdf34dfgf" include ':app'

Doesnt work for me

DontForgontPassword avatar Jul 29 '23 08:07 DontForgontPassword