【问题标题】:Volley as DependencyVolley 作为依赖
【发布时间】:2016-03-20 14:45:40
【问题描述】:

我只是查看了我的一个较旧的项目。它在 gradle 中使用了 volley:

编译项目(":volley")

我将它用作子模块,但我想摆脱它。

由于 Volley 由 google 维护,我在研究后发现了一些官方依赖项 [1]。版本号为 1.0.0

谁能告诉我这个 Volley 属于哪个版本? 有不少[2]

[1]https://bintray.com/android/android-utils/com.android.volley.volley/view#

[2]https://android.googlesource.com/platform/frameworks/volley/+refs

【问题讨论】:

    标签: android gradle dependencies android-volley


    【解决方案1】:

    我认为 Google 终于“正常”地发布了他们的代码,甚至 mcxiaoke 这个人总是从已弃用的自己的 repo 中获取 repo:

    请注意,此项目已弃用,不再维护,请使用 jCenter 的官方版本。

    所以现在,只需:

    compile 'com.android.volley:volley:1.0.0'

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-11-15
      • 2019-06-06
      • 2014-10-08
      • 1970-01-01
      • 2015-11-16
      • 2018-11-18
      • 1970-01-01
      • 2012-08-06
      相关资源
      最近更新 更多