简体   繁体   中英

Using libraries in an android project

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM