Android-Image-Slider icon indicating copy to clipboard operation
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:

Open Akshanshbhardwaj opened this issue 2 years ago • 8 comments

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

  1. I have tried adding Jcenter() and MavenCentral but that does not solve my issue.
  2. 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' } } }

error_imageslider

Akshanshbhardwaj avatar Dec 23 '22 07:12 Akshanshbhardwaj

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
    repositories {
        google()
        jcenter() <---
        mavenCentral()
        maven { url = uri("https://jitpack.io") }
    }
}

Here is the solution @Akshanshbhardwaj

myuksektepe avatar Jan 06 '23 18:01 myuksektepe

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

vishalcoader avatar Jan 25 '23 04:01 vishalcoader

Thanks it solved the issue

abbasabidi85 avatar Apr 09 '23 18:04 abbasabidi85

Thanks too.

simonmwangi avatar Jun 09 '23 11:06 simonmwangi

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

srinivas-lanka avatar Sep 26 '23 09:09 srinivas-lanka

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

kishea-dev avatar Oct 03 '23 15:10 kishea-dev

Thank You it worked:)

meshack-ai avatar Oct 10 '23 08:10 meshack-ai