【问题标题】:What's the last version of Android Volley? [closed]Android Volley 的最新版本是什么? [关闭]
【发布时间】:2017-08-19 00:09:33
【问题描述】:

很抱歉提出这个非常简单的问题,但我花了半个多小时才找到最新版本的 Android Volley。

这里:https://developer.android.com/training/volley/index.html我找到了

dependencies {
    ...
    compile 'com.android.volley:volley:1.0.0'
}

但我确定这不是最后一个版本。使用 this answer 并没有帮助,因为它没有显示任何 volley 更新。

谢谢

【问题讨论】:

    标签: android android-studio android-volley


    【解决方案1】:

    正如 Farooq Khan 指出的,当前版本位于 https://github.com/google/volley/releases

    截至2017 年 12 月 15 日的最新版本是“1.1.0”。

    所以 android 应用程序的 gradle 字符串将是

    compile 'com.android.volley:volley:1.1.0'
    

    现在您应该使用Implementation 而不是Compile,因为在最新版本的gradle 中compile 现在已过时

    顺便说一句,1.1.1版本也在准备中, 根据https://github.com/google/volley/wiki/Release-Notes

    【讨论】:

    • 不知道为什么有人不赞成这个,但我认为这是目前的正确答案
    • 1.1.1 版现已推出。所以,使用: implementation 'com.android.volley:volley:1.1.1'
    【解决方案2】:

    1.0.0是目前android volley官方发布的版本。它于 2016 年 12 月发布。这是link of volley project

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2023-03-07
    • 1970-01-01
    • 2010-09-13
    • 2017-04-21
    • 1970-01-01
    • 2014-12-21
    • 2015-04-13
    相关资源
    最近更新 更多