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

  • Android Compilation: No rule to make target
  • Build Unity project with Jenkins failed
  • Build project imported from Eclipse git as Android Project
  • Git stash apply leaves extra string in files
  • Loading a library in Gradle using JitPack
  • Horizontal Listview Not Working from github
  • 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

  • How do I get Composer to download the latest commit in the master branch from GitHub for a package?
  • Merge the changes made in the master while keeping the changes made locally in git
  • Pull only unchanged files in Git
  • Git: is there a functionality like the TFS shelveset?
  • How to copy a file from one git branch to another and save as different file?
  • How to link to a Git commit in Redmine after pushing
  • 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.