Android-Image-Slider
Android-Image-Slider copied to clipboard
Could not HEAD 'https://jitpack.io/com/github/smarteist/autoimageslider/1.4.0/autoimageslider-1.4.0.pom'. Received status code 521 from server:
Describe the bug Could not HEAD 'https://jitpack.io/com/github/smarteist/autoimageslider/1.4.0/autoimageslider-1.4.0.pom'. Received status code 521 from server:
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Windows 11
- Android Studio 2021.3.1.16 (Dolphin)
- AutoImageSlider Version 1.4.0 (implementation 'com.github.smarteist:autoimageslider:1.4.0')
- Gradle Version 7.6
- AGP Version 7.3.1
Solution Tried
- I have tried adding Jcenter() and MavenCentral but that does not solve my issue.
- I added this code in gradle.setting but not worked for me. dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { google() mavenCentral() maven { url 'https://jitpack.io' } } }
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
repositories {
google()
jcenter() <---
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Here is the solution @Akshanshbhardwaj
smarties image slider error solve follwe these step :-
hello everyone you can resolve this error 👎
Solution 👎
first the set these dependency in gradle in ( setting.gradle) file
dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { google() jcenter() mavenCentral()
maven {
url 'https://jitpack.io'
}
}
}
and then
add smarties link in gradle dependendies 👎
implementation 'com.github.smarteist:autoimageslider:1.4.0'
these are perfect solution
Thanks it solved the issue
Thanks too.
Could not GET 'https://jitpack.io/com/github/smarteist/autoimageslider/1.4.0/autoimageslider-1.4.0.pom'. Received status code 401 from server: Unauthorized
several changes to how to get this library
use.
implementation 'com.github.smarteist:Android-Image-Slider:1.4.0'
reference: https://jitpack.io/#smarteist/Android-Image-Slider/1.4.0
Thank You it worked:)