Yalantis / uCrop

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

Failed to resolve: com.github.yalantis:ucrop:2.2.6 #826

Open sushantsharma7 opened 2 years ago

sushantsharma7 commented 2 years ago

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

qadeermuniry commented 1 year ago

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'