Volley git clone installation

Reading Time: 1 minute

You suppose to have started your Android studio project, and then, you need to do volley git clone installation. To do so, make an empty folder, go there and in cmd mode type following command:

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

git-clone

Then you need to import module. File→New→Import Module

Import-Volley-Module

Browse to source module

Select-Source-Volley-Browse

and we have new volley module

New-Volley-Module

In Android studio go to build.gradle (Module:app) and be sure to have code something like the following:

dependencies {
compile fileTree(dir: ‘libs’, include: [‘*.jar’])
testCompile ‘junit:junit:4.12’
compile ‘com.android.support:appcompat-v7:23.1.1’
compile ‘com.android.support:design:23.1.1’
compile project (“:volley”)
}

Tagged with:

Leave a Reply

Your email address will not be published. Required fields are marked *

*