Unable to import volleyball library into eclipse

I just got the volleyball library from the link below. git clone- https://android.googlesource.com/platform/frameworks/volley in eclipse I follow the steps import> git> project from git> .... etc.

and the library is loaded in the folder C: \ Users \ active \ git \ volley

when I just want to import the volley folder into eclipse (C: \ Users \ active \ git \ volley), it shows " Select at least one project " in IMPORT PROJECT.and there is only one project, although I chose what it still shows same error on top .. need help ... thanks in advance

+5
source share
3 answers

You need to build a jar and then add it to your libs folder in your project.

How to create a jar:

$ git clone https://android.googlesource.com/platform/frameworks/volley $ cd volley $ android update project -p . $ ant jar 

a source

Here is a YouTube video if that helps: https://www.youtube.com/watch?v=5bwn7DYt2AI

You can also download the unofficial build on the maven central server .

Edit:

It seems like a volley cannot be built with ant anymore (correct me if I am wrong). All I did was create a new Android project, mark it as a library project, create the com.android.volley package, copy the source code to the project and build it.

+8
source

Check if the project name exists in your workspace.

0
source
  • Right-click any project and click properties .
  • Look at the current WorkSpace under location .
  • Delete any existing copies of Volley or a project with a similar name.
  • Re-import Volley.
0
source

Source: https://habr.com/ru/post/1209593/


All Articles