smarteist / Android-Image-Slider

Android Auto Image Slider
Apache License 2.0
945 stars 288 forks source link

Unable to upgrade to lib version 1.4.0. #266

Open gmMustafa opened 2 weeks ago

gmMustafa commented 2 weeks ago

Describe the bug Unable to upgrade to lib version 1.4.0.

To Reproduce Steps to reproduce the behavior:

  1. add dependency in the build gradle file
  2. build project

Expected behavior the new version should be integrated .

Log file logfile.txt

Smartphone (please complete the following information):

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

abdnezar commented 1 week ago

Download aar 1.4.0.zip

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

abdnezar commented 1 week ago

@smarteist Are you going to load the library for a new repository?

gmMustafa commented 1 week ago

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: @.***>

ablyPardeep commented 5 days ago

After adding .aar file ,it still gives error Failed to resolve: :autoimageslider-1.4.0

abdnezar commented 5 days ago

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'])

ablyPardeep commented 4 days ago

@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