Yalantis / uCrop

Image Cropping Library for Android
https://yalantis.com/blog/introducing-ucrop-our-own-image-cropping-library-for-android/
11.85k stars 2.16k forks source link

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> #784

Open ManishPanwar556 opened 2 years ago

ManishPanwar556 commented 2 years ago

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

ALDAIR301098 commented 2 years ago

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

muokid3 commented 2 years ago

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

Thank you dude! This worked

DontForgontPassword commented 1 year ago

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