Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to include GitHub library to your existing Android project in eclipse

I want to include this library from github to my existing project, I am using eclipse. Is there any tutorial on how to do this? I am new to android and java development so any step by step help would be great!

note: I have an Egit plugin installed in eclipse.


Image of the screen when I try to Import the library from the unziped file I have downloaded from the github page: enter image description here


Also after importing the library as suggested below a library folder created in my Package Explorer but here is what I get: enter image description here


I have now the library in the eclipse Package explorer, and now I want to add it to my project, so I Right-Click on the existing project and choose properties. Under Android liabrary i click ok and choose the library than ok, nothing happens!

like image 384
vlio20 Avatar asked Dec 15 '12 11:12

vlio20


People also ask

Can I use GitHub Library in Android Studio?

Open your web browser, navigate to the GitHub repository you want to clone, and then copy/paste its URL into the Android Studio dialog. Specify the local directory where you want to store the cloned repository. Give this directory a name, and then click 'Clone. '

How do I clone a repository from GitHub to Eclipse?

Cloning Repositories In order to checkout a remote project, you will have to clone its repository first. Open the Eclipse Import wizard (e.g. File => Import), select Git => Projects from Git and click Next. Select “URI” and click next. Now you will have to enter the repository's location and connection data.


1 Answers

Right click on your project -> properties -> Android -> Add. There you can hose a library.

enter image description here

like image 94
Ahmad Avatar answered Oct 22 '22 08:10

Ahmad