Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Unable to upgrade to lib version 1.4.0. #266

Open
gmMustafa opened this issue Aug 31, 2024 · 8 comments
Open

Unable to upgrade to lib version 1.4.0. #266

gmMustafa opened this issue Aug 31, 2024 · 8 comments

Comments

@gmMustafa
Copy link

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

@abdnezar
Copy link

abdnezar commented Sep 4, 2024

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
Copy link

abdnezar commented Sep 4, 2024

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

@gmMustafa
Copy link
Author

gmMustafa commented Sep 9, 2024 via email

@ablyPardeep
Copy link

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

@abdnezar
Copy link

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
Copy link

ablyPardeep commented Sep 12, 2024

@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

@datacoder-io
Copy link

not working the aar

@koai-dev
Copy link

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants