导入最新的Volley到Android项目
2015-09-08(二) by chenjia.me步骤
转自:http://stackoverflow.com/questions/20059576/import-android-volley-to-android-studio
-
First get latest volley with git.
git clone https://android.googlesource.com/platform/frameworks/volley
2. In your current project (android studio) click [file] --> [New Module]. 3. Now select [Import Existing Project] 4. Now select the directory where you downloaded Volley to. 5. Now Android studio might guide you to do the rest but continue guide to verify that everything works correct 6. Open settings.gradle (find in root) and add (or verify this is included):include ':app', ':volley'
7. Now go to your build.gradle in your project and add the dependency:compile project(":volley")