i just got the volley library from the below link.. git clone-https://android.googlesource.com/platform/frameworks/volley in eclipse i am following steps import>git>project from git>....etc
and the library got downloaded in C:\Users\active\git\volley
when i just want to import the volley folder to the eclipse(C:\Users\active\git\volley) it shows "Select at least one project" in IMPORT PROJECT.and their is only one project though i have selected that still it shows the same error on the top..seriously need a help...thanks in advance
You need to build the jar and then add it to your libs folder in your project.
How to build the jar:
$ git clone https://android.googlesource.com/platform/frameworks/volley
$ cd volley
$ android update project -p .
$ ant jar
Here is a YouTube video if that would help: https://www.youtube.com/watch?v=5bwn7DYt2AI
You can also download a non-official build on maven central.
Edit:
It looks like volley can't be built with ant anymore (correct me if I'm wrong). All I did was create a new Android Project, mark it as a library project, create package com.android.volley, copy the source over to the project, and build it.
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句