Generating jar file from Android Volley

I want to create a jar file for android volleyball

I cloned:

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

      

then I tried: enter image description here

I got a build error.

Can you provide some advice please. Thank.

+3


source to share


1 answer


This repository is not always structured correctly. For now, I'm assuming the current version android-5.1.1_r2

(May 11, 2015). So, to build:

git clone https://android.googlesource.com/platform/frameworks/volley
cd volley
git checkout b3b7e68
android update project -p .
ant jar

      



You will need sdk/platform-tools/

, and sdk/tools/

in the path environment variable for the team android update

.

Or if you are using gradle you can just add compile 'com.android.volley:volley:1.0.0'

gradle to your construct.

0


source







All Articles