Can't import the volley library in eclipse

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

  • Integrate Visual Studio online Git Repository to Android Studio 1.0.2
  • How do I setup Cordova?
  • How to open the project from GitHub in Android studio? Troubles with Maven and android support libraries.
  • How to revert project back to a previous commit in android studio
  • error syncing with cyanogenmod repo
  • How to use Git correctly in Android Studio?
  • 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

  • Move git configuration from Windows to Ubuntu
  • Untrack files from git temporarily
  • Change Avatar Next to GitHub Username (For Commits)
  • How to make git mark a deleted and a new file as a file move?
  • Is it possible to move/rename files in git and maintain their history?
  • Meaning of leading slash in `.gitignore` file
  • 3 Solutions collect form web for “Can't import the volley library in eclipse”

    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
    

    source

    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.

    Check whether the project name is already exists in your workspace.

    1. Right Click any project and click on properties.
    2. Look at the directory of current WorkSpace under location.
    3. Delete any existing copies of Volley or project with the similar name.
    4. Re-import Volley.
    Git Baby is a git and github fan, let's start git clone.