Download and compile Volley in Android

Source: Internet
Author: User

1) Use git to download the volley source code, as shown below (I downloaded the volley source code in cygwin ):

Git clone https://android.googlesource.com/platform/frameworks/volley
The running process is as follows (ignore exceptions)

2) run the cmd command in the Window to enter the volley directory, and then run "android update project-p.". The following vertex indicates the current directory as follows:


In windows, why is the cmd window used for running? This is because the sdk is based on windows. Therefore, the android Command provided only adopts the bat format and does not use the sh format. Therefore, it cannot be run in cygwin. <Strong? Http: www.bkjia.com kf ware vc "target =" _ blank "class =" keylink "> VcD4KPHA + M6Op1 + 6689tz08nhbntatlhg0uuuzywphcrd8vs3q0kosw/zB7srH "ant jar ".

The successful compilation result is as follows:


Find volley. jar in the corresponding bin folder.


4) download the Jar package.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.