0

I am new to Android development. I had downloaded a source code from Github and inside the folder contains a sample folder and a library folder. I had successfully added the sample project into Eclipse but it not works without the library. I have no idea how to import the library folder to use with the sample project.

From Github, the instruction is like this: If you want to use this library you must before all indicate to your application that you want to use it by launching the following command from the root directory of your application $ android update project --library ../relative/path/to/the/library --path . where the path is the relative path to the library directory in this repository.

The link of the project is as below: Project link

Can anyone teach me what to do? Thanks a lot!

I had repeat the same steps as how I normally used to add library but it not works in this project. Please refer to image below: Image

Potatomato
  • 11
  • 2
  • Why people just simply mark this as duplicate by just refer to title but without really come to understand the question? I know the usual method to add library. There are some problem in this project and I need help to find out the solution. – Potatomato Oct 26 '15 at 06:16

1 Answers1

0

Try this,

1) File->New->Other
2) Select Android Project
3) Select "Create Project from existing source"
4) Click "Browse..." button and navigate to johannilsson-android-actionbar\actionbar
5) Finish (Now action bar project in your workspace)
6) Right-click on your project -> Properties
7) In Android->Library section click Add
8) select recently added project -> Ok

That's it

Parth Bhayani
  • 2,176
  • 3
  • 15
  • 35
  • Hi thanks for your comment. I know how to add a library into eclipse and use them in my project, as what you write above. But, my problem is about how to add the library folder inside the ArcMenu folder to be used in the ArcMenu project? You can refer to my attached image. Thanks. – Potatomato Oct 26 '15 at 05:49
  • Yes I got it, what your mistake is, in your workspace there has been same library name so kindly rename your old library name and try to import the new one. That works. – Parth Bhayani Oct 27 '15 at 04:44