How to add a Library Project to a android project?

前端 未结 3 935
隐瞒了意图╮
隐瞒了意图╮ 2020-11-22 16:43

I have created a new android project. I want to have a action bar at the top so I downloaded the Action Bar for Android Library because I want to support devices from androi

3条回答
  •  温柔的废话
    2020-11-22 17:06

    Checkout this documentation on how to reference a library project in eclipse.

    From the link above:

    1. In the Package Explorer, right-click the dependent project and select Properties.
    2. In the Properties window, select the "Android" properties group at left and locate the Library properties at right.
    3. Click Add to open the Project Selection dialog.
    4. From the list of available library projects, select a project and click OK.
    5. When the dialog closes, click Apply in the Properties window.
    6. Click OK to close the Properties window.

提交回复
热议问题