You need to build a jar and then add it to your libs folder in your project.
How to create a jar:
$ git clone https://android.googlesource.com/platform/frameworks/volley $ cd volley $ android update project -p . $ ant jar
a source
Here is a YouTube video if that helps: https://www.youtube.com/watch?v=5bwn7DYt2AI
You can also download the unofficial build on the maven central server .
Edit:
It seems like a volley cannot be built with ant anymore (correct me if I am wrong). All I did was create a new Android project, mark it as a library project, create the com.android.volley package, copy the source code to the project and build it.
source share