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

Unable to upgrade to lib version 1.4.0.

Open gmMustafa opened this issue 1 year ago • 8 comments

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):

  • 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

gmMustafa avatar Aug 31 '24 14:08 gmMustafa

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 avatar Sep 04 '24 07:09 abdnezar

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

abdnezar avatar Sep 04 '24 08:09 abdnezar

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

gmMustafa avatar Sep 09 '24 13:09 gmMustafa

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

ablyPardeep avatar Sep 11 '24 09:09 ablyPardeep

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 avatar Sep 11 '24 14:09 abdnezar

@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

ablyPardeep avatar Sep 12 '24 05:09 ablyPardeep

not working the aar

datacoder-io avatar Oct 02 '24 09:10 datacoder-io

use this: maven { url 'https://jitpack.io' } implementation 'com.github.koai-dev:Android-Image-Slider:1.4.0'

koai-dev avatar Oct 31 '24 03:10 koai-dev