javaandroidjcenter

jcenter() is shutting down now, please tell me how can I use - "link.fls:swipestack:0.3.0" -this library?


I am new in Android Studio. I want to use a library:

implementation 'link.fls:swipestack:0.3.0'

But error comes up

Failed to resolve: link.fls:swipestack:0.3.0

It need Jcenter(). But jcenter is shutting down. Then how can I use the library?


Solution

  • You can use it as a jitpick library.

    To implement , follow the steps:

    1. Add it to you settings.gradle file:
    maven { url 'https://jitpack.io' }
    
    1. Add this to your build.gradle:
    implementation 'com.github.flschweiger:SwipeStack:0.3.0'
    

    It is very easy to use. This will now build.