uCrop
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>
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
The same thing happened to me, this line of code: maven {url "https://jitpack.io"} put it in the settings.gradle and hit sync
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