uCrop
uCrop copied to clipboard
Failed to resolve: com.github.yalantis:ucrop:2.2.6
Could not determine the dependencies of task ':app:preDebugBuild'.
Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'. Could not resolve com.github.yalantis:ucrop:2.2.6. Required by: project :app > Could not resolve com.github.yalantis:ucrop:2.2.6. > Could not get resource 'https://dl.bintray.com/notifyvisitors/notifyvisitors/com/github/yalantis/ucrop/2.2.6/ucrop-2.2.6.pom'. > Could not HEAD 'https://dl.bintray.com/notifyvisitors/notifyvisitors/com/github/yalantis/ucrop/2.2.6/ucrop-2.2.6.pom'. Received status code 502 from server: Bad Gateway
Add this in your settings.gradle repositories
maven { url "https://jitpack.io" }
here is my settings.gradle
dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { google() mavenCentral() maven { url "https://jitpack.io" } jcenter() } } rootProject.name = "ProjectName" include ':app' include ':ucrop'