Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I build these libraries from GitHub

I'm having a lot of trouble figuring out how to build a jar of the Showcase View library so that I can import it into my application.

I've searched all around but can't find a process for it. I tried importing into Eclipse but I can't get it in there since it isn't a project and I'm not sure what type of project to create from source with.

Any help would be greatly appreciated.

like image 581
FuegoFingers Avatar asked Aug 27 '13 19:08

FuegoFingers


People also ask

What is a library in GitHub?

A library is a collection of preprogrammed templates that implement a behavior when invoked. Libraries are well-defined and are designed for reuse throughout implementation.


1 Answers

Easiest way is:

  1. Create an empty Android Application project in your Eclipse workspace.

  2. Copy files in ShowcaseView/library/ folder of github to your new project base folder.

  3. Refresh project in Eclipse.

  4. Goto project properties - Android and select "Is Library"

  5. Clean unnecessary stuff and build.

It should be ready to add as dependency of your app.

Alternatively you can pick another library project .project file and copy it inside this library folder, edit it to match your new project name, etc... And then import in Eclipse. But this is more hardcore if you don't know what you're doing.

like image 172
prc Avatar answered Sep 23 '22 09:09

prc