These days in the study of Android network programming things, helpless on GitHub to download the volley project is the directory structure of Android Studio, I will make it into a jar package, whether it is under studio, or under Eclipse, it will be easier to use.
This paper studies the directory structure of the volley framework, and discovers that it is the Java code directory and the manifest file, which is very simple for this kind of library file. We can copy the code into our engineering catalog to use, in contrast I prefer the jar package.
In fact, there is a new type of packaging in Android, that is, AAR, in Android studio when the library files are compiled, the *.jar and *.arr files are generated at the same time.
- Jar file directory:volley/build/intermediates/bundles/debug (release)/classes.jar
- AAR Files directory:volley/build/outputs/aar/libraryname.aar
If the compiled library file does not involve the UI (res), there is no assets, no aidl, then this classs.jar can be used.
If it is an animation library, etc. involving the above file, you can only use AAR.
Hit the jar pack under Android Studio