Android-Image-Slider icon indicating copy to clipboard operation
Android-Image-Slider copied to clipboard

Could not resolve com.github.smarteist:autoimageslider:1.4.0

Open rohitkzoom opened this issue 2 years ago • 7 comments

I am getting this error now, is it removed from jcenter repository?

rohitkzoom avatar Dec 22 '22 12:12 rohitkzoom

could compile with com.github.smarteist:autoimageslider:1.3.9

rohitkzoom avatar Dec 22 '22 12:12 rohitkzoom

I'm also receiving that error Could not HEAD 'https://jitpack.io/com/github/smarteist/autoimageslider/1.4.0/autoimageslider-1.4.0.pom'. Received status code 521 from server:

AbdelrahmanMahmoud262 avatar Dec 22 '22 12:12 AbdelrahmanMahmoud262

Solved

You have us jcenter() along with mavenCentral(). just like below👇👇

dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { google() jcenter() mavenCentral()

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

} }

AbdelrahmanMahmoud262 avatar Dec 22 '22 12:12 AbdelrahmanMahmoud262

I am using build.gradle:app for repositories management

I have below in my build.gradle:app

repositories { google() mavenCentral() jcenter()

    maven { url "https://maven.localazy.com/repository/release/" }
}

Still getting this error with jcenter(), maven { url 'https://jitpack.io' } added

rohitkzoom avatar Dec 22 '22 13:12 rohitkzoom

these solution of these error 👎

Solution :- follow of this link

https://github.com/smarteist/Android-Image-Slider/issues/248#issuecomment-1403067934

vishalcoader avatar Jan 25 '23 04:01 vishalcoader