I have seen various tips on the best way to do this. This question covers the creation of banks. Elsewhere, I saw advice to simply copy the source of the volley into your own project. This section in libraries on android.com looks the most authoritative. However, after compiling the volleyball, I do not have the aal library, whereas this section says that I should.
So my question is: I have an existing Android Studio project with a standard layout and git repository; What should I do to add a volley? Where should I download it? How to add it to Android Studio? What Gradle files, if any, I need to change.
I hope for those of you who have done this several times, it should be bread butter, but I could not find a simple description.
-
Update , at the suggestion of Scott Bart.
The gradle.build file in the volleyball repository has this line.
apply plugin: 'android-library'
According to the documentation : "Library projects do not generate APKs, they generate .aar package (which is an Android archive)." However, when I create a volleyball project, .aar is not created.
I feel that since Volley is a library project created by the Android team, it is most likely intended to be created and used as a .aar package. Any advice on whether it would be preferable to generate .aar and how to do it would be appreciated.
android-studio android-volley gradle
user3185563 Jan 11 '14 at 17:28 2014-01-11 17:28
source share