创建的Andr​​oid库项目 [英] Creating Android Library Project

查看:126
本文介绍了创建的Andr​​oid库项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我下面的教程这里
我不能怎么做使用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

  1. 文件 - >新建 - >其他
  2. 选择Android项目
  3. 选择从现有源创建项目
  4. 单击浏览按钮并导航到 Vitamio 在你的电脑
  5. 添加项目后,点击Finish(现在 Vitamio 工作空间中的项目)
  6. 在您的项目右击 - >属性
  7. 在Android->库部分中单击添加
  8. 选择最近添加的项目 - >确定
  1. File->New->Other
  2. Select Android Project
  3. Select "Create Project from existing source"
  4. Click "Browse..." button and navigate to Vitamio in your PC
  5. After adding project,Click Finish (Now Vitamio 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! Now you can use it as library project.

导入以上库项目
要导入项目,请执行以下步骤:

Import Above library Project
To import project,do following steps:

  1. 在包资源管理器中,右键单击您的主项目,并选择 属性。
  2. 在属性窗口中,选择Android的属性组 左,右定位库属性。
  3. 单击添加打开项目选择对话框。
  4. 从可用库项目的列表中选择一个项目, 单击确定。
  5. 当对话框关闭,单击应用在属性窗口中。
  6. 单击确定关闭属性窗口。 而已!享受
  1. In the Package Explorer, right-click your main 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. that's it! enjoy

这篇关于创建的Andr​​oid库项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆