denzcoskun / ImageSlideshow

Android image slider.
Apache License 2.0
354 stars 141 forks source link

Dependecy Not Working #70

Open mehedizzz opened 2 years ago

mehedizzz commented 2 years ago

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.github.denzcoskun:ImageSlideshow:0.1.0. Show Details Affected Modules: app

hammood commented 2 years ago

Found the solution at https://stackoverflow.com/questions/32718820/failed-to-resolve-com-github-philjaympandroidchartv2-1-4

you need to put maven { url 'https://jitpack.io' } in the project level build.gradle file at the allprojects section of repositories not buildscript

Mawuli87 commented 2 years ago

Comment out the following in settings and add the below allProjects to build.gradle project level //dependencyResolutionManagement { // repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) // repositories { // google() // mavenCentral() // } //}

allprojects { repositories { maven { url 'https://jitpack.io' } google() mavenCentral() } }