Reputation: 453
I have found a library that I'd like to use for my android app. On the github page of the project, there is a tutorial on how to add the library to your own app so that you can use it, but I have problems following it: https://github.com/gabrielemariotti/cardslib/blob/master/doc/BUILD.md#reference-this-project-as-a-library-in-eclipse I know how to add .jars or projects as libraries to my own project using eclipse, but I don't get the library into my workspace in the first place.
Upvotes: 0
Views: 74
Reputation: 2114
In Eclipse, File -> import -> Android (NOT General) -> Existing Android Code into Workspace -> Select the library folder -> you should see the library
If the import option is not given, make sure you don't have any project by name "main" in your workspace. If you do, rename that project to something else and repeat.
Upvotes: 1