如何使用 Gradle 替换 Android Volley 库?
How to Replace Android Volley Library Using Gradle?
我的项目中有 Volley 库(在 libraries/volley 下),但是我更喜欢使用 Gradle 版本的 volley 库(https://github.com/mcxiaoke/android-volley).我想在 build.gradle
中使用 "compile com.mcxiaoke.volley:library:1.0.19"
但每次我删除 Volley 文件库时,我都会在编译时收到错误消息:错误:找不到名称为 'default' 的配置。
如何替换现有的 Volley 库并使用 gradle 版本?
之前感谢...
而不是
compile 'com.mcxiaoke.volley:library:1.0.19-SNAPSHOT'
使用
compile 'com.mcxiaoke.volley:library:1.0.19'
我的项目中有 Volley 库(在 libraries/volley 下),但是我更喜欢使用 Gradle 版本的 volley 库(https://github.com/mcxiaoke/android-volley).我想在 build.gradle
中使用 "compile com.mcxiaoke.volley:library:1.0.19"但每次我删除 Volley 文件库时,我都会在编译时收到错误消息:错误:找不到名称为 'default' 的配置。
如何替换现有的 Volley 库并使用 gradle 版本?
之前感谢...
而不是
compile 'com.mcxiaoke.volley:library:1.0.19-SNAPSHOT'
使用
compile 'com.mcxiaoke.volley:library:1.0.19'