打包volley

简介: 1.如果电脑没有安装git和ant的话,需要安装git和ant,直接Google就可以,并配置环境变量 2.在命令行执行 git clone https://android.googlesource.com/platform/frameworks/volley 3.cd volley 并把 ./src/main/AndroidMainfest.xml下复制到 ./

1.如果电脑没有安装git和ant的话,需要安装git和ant,直接Google就可以,并配置环境变量

2.在命令行执行

git clone https://android.googlesource.com/platform/frameworks/volley

3.cd volley 并把 ./src/main/AndroidMainfest.xml下复制到 ./

4.执行android update project -p . -t 8

5.ant jar

如果这时候报 org.junit.* 这些类找不到,直接删除 src 下的 test 文件夹,再执行ant jar

成功的话可以看到如下信息:

[jar] Building jar: E:\github_project\volley\bin\volley.jar

BUILD SUCCESSFUL

这样就完成了  bin 目录下的 volley.jar 就是我们想要的东西

目录
打赏
0
0
0
0
498
分享
相关文章
打包volley
<p style="margin-top:0px; margin-bottom:25px; text-align:justify; word-break:break-word; color:rgb(47,47,47); font-family:'lucida grande','lucida sans unicode',lucida,helvetica,'Hiragino Sans GB',
943 0
Android Volley.jar包下载
Android Volley下载 Android Volley是Android平台上很好用的第三方开源网络通信框架。使用简答,功能强大。
1768 0
Volley源码解析
Volley是一款轻量级的网络访问框架,适合小批量的数据传输。Volley的使用通过newRequestQueue创建一个RequestQueue对象,并调用RequestQueue.add方法来提交任务。
1103 0
关于volley的使用
https://blog.csdn.net/qwm8777411/article/details/45770979
726 0
Android项目框架之图片加载框架的选择
本文来自http://blog.csdn.net/liuxian13183/ ,引用必须注明出处! 从Android爆发以后,自定义的控件如EditTextWithDelete、ActionBar、PullToRresh逐步进入开发者的视野,想起11年的时候,基本项目中使用的UI还全都是Android提供的基础控件,一点的动画+布局,下载和网络请求都是用HttpClient,图片加载当然也是下载后再使用,当时的程序资源可没有现在这么丰富,看看Github上开源的项目,现在的程序员应该感到幸福。
954 0