jcenter() 现已关闭,请告诉我如何使用 - “link.fls:swipestack:0.3.0” - 这个图书馆?

发布于 2025-01-15 12:35:06 字数 233 浏览 3 评论 0 原文

我是 Android Studio 的新手。我想使用一个库:

implementation 'link.fls:swipestack:0.3.0'

但是出现错误

无法解析:link.fls:swipestack:0.3.0

它需要 Jcenter()。但 jcenter 正在关闭。那么我该如何使用该库呢?

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

失退 2025-01-22 12:35:06

您可以将其用作 jitpick 库。

要实现,请按照以下步骤操作:

  1. 将其添加到您的 settings.gradle 文件中:
maven { url 'https://jitpack.io' }
  1. 将其添加到您的 build.gradle 中:
implementation 'com.github.flschweiger:SwipeStack:0.3.0'

它非常易于使用。现在将构建。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文