Android-Image-Slider
Android-Image-Slider copied to clipboard
Unable to upgrade to lib version 1.4.0.
Describe the bug Unable to upgrade to lib version 1.4.0.
To Reproduce Steps to reproduce the behavior:
- add dependency in the build gradle file
- build project
Expected behavior the new version should be integrated .
Log file logfile.txt
Smartphone (please complete the following information):
- Device: [e.g. Samsung A series]
Additional context
Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not resolve com.github.smarteist:autoimageslider:1.4.0. Required by: project :app > Could not resolve com.github.smarteist:autoimageslider:1.4.0. > Could not get resource 'https://jitpack.io/com/github/smarteist/autoimageslider/1.4.0/autoimageslider-1.4.0.pom'. > 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
The JCenter repository was recently discontinued. You can add aar to the libs folder in your application and it will solve the problem until the publisher moves the library to a new repository
@gmMustafa I hope this solves your problem
@smarteist Are you going to load the library for a new repository?
Hey Abd, Thanks for the reply. I will use the .aar for now, but I would prefer the new repo in the future.
Thanks.
On Wed, Sep 4, 2024 at 10:05 AM Abd Nezar @.***> wrote:
@smarteist https://github.com/smarteist Are you going to load the library for a new repository?
— Reply to this email directly, view it on GitHub https://github.com/smarteist/Android-Image-Slider/issues/266#issuecomment-2328188086, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGNBWUTNNDP3DRU6AMJA4ODZU25LVAVCNFSM6AAAAABNN554U6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRYGE4DQMBYGY . You are receiving this because you were mentioned.Message ID: @.***>
After adding .aar file ,it still gives error Failed to resolve: :autoimageslider-1.4.0
Please be sure to remove dependency from gradle add aar to libs folder add this line in dependencies block implementation fileTree(dir: 'libs', include: ['.aar', '.jar'])
@abdnezar I tried your solution , gradle sync successfully , but still unable to use plugin , As it gives error of dependency not found , May be , I missed something else
not working the aar
use this: maven { url 'https://jitpack.io' } implementation 'com.github.koai-dev:Android-Image-Slider:1.4.0'