创建的Android库项目 [英] Creating Android Library Project
本文介绍了创建的Android库项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我下面的教程这里
我不能怎么做使用Vitamio由于Android库项目。
I am following a tutorial here
I can't get how to do the "use Vitamio as Android library project" .
我如何使用它作为一个Android库项目?
How can I use it as an Android library project?
推荐答案
创建库项目
使用以下步骤
Create Library Project
Use following steps
- 文件 - >新建 - >其他
- 选择Android项目
- 选择从现有源创建项目
- 单击浏览按钮并导航到 Vitamio 在你的电脑
- 添加项目后,点击Finish(现在 Vitamio 工作空间中的项目)
- 在您的项目右击 - >属性
- 在Android->库部分中单击添加
- 选择最近添加的项目 - >确定
- File->New->Other
- Select Android Project
- Select "Create Project from existing source"
- Click "Browse..." button and navigate to Vitamio in your PC
- After adding project,Click Finish (Now Vitamio project in your workspace)
- Right-click on your project -> Properties
- In Android->Library section click Add
- select recently added project -> Ok
这就是它!
现在你可以使用它作为库项目。
that's it!
Now you can use it as library project.
导入以上库项目
要导入项目,请执行以下步骤:
Import Above library Project
To import project,do following steps:
- 在包资源管理器中,右键单击您的主项目,并选择 属性。
- 在属性窗口中,选择Android的属性组 左,右定位库属性。
- 单击添加打开项目选择对话框。
- 从可用库项目的列表中选择一个项目, 单击确定。
- 当对话框关闭,单击应用在属性窗口中。
- 单击确定关闭属性窗口。 而已!享受
- In the Package Explorer, right-click your main project and select Properties.
- In the Properties window, select the "Android" properties group at left and locate the Library properties at right.
- Click Add to open the Project Selection dialog.
- From the list of available library projects, select a project and click OK.
- When the dialog closes, click Apply in the Properties window.
- Click OK to close the Properties window. that's it! enjoy
这篇关于创建的Android库项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文