2014-12-04 24 views
0

您好我一直在尝试将this库项目添加到我在Eclipse中的现有项目。这是我第一次使用图书馆项目,而且我的时间很艰难。四处寻找可能来自教程和帖子的方式,但无法完成。如何在eclipse中使用github项目作为库

我希望我能从这个美好的社区获得帮助,我是其中的一员。

这是我的XML ..

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 

    android:layout_width="fill_parent" 

    android:layout_height="fill_parent" > 

    <at.markushi.ui.ActionView 

    android:id="@+id/action" 

    android:layout_width="56dip" 

    android:layout_height="56dip" 

    android:padding="16dip" 

    app:av_color="@android:color/white" 

    app:av_action="drawer"/> 

</RelativeLayout> 

标签<at.markushi.ui.ActionView/>是给错误,我无法在我的主要活动导入at.markushi.ui.ActionView

+0

告诉你正面临的确切问题。 – Nitesh 2014-12-04 04:20:23

+0

当我尝试从[this](https://github.com/markushi/android-ui)在我的项目xml文件中添加 xml标记时,它会给出错误:解析XML时出错:未绑定的前缀。 – Utkarsh 2014-12-04 05:28:02

回答

0
  1. 导入项目工作区
  2. 检查isLibrary
  3. 用它在你的项目

    enter image description here

    欲了解更多详细信息,请参阅开发者文档页面,setting up a library project
+0

我已经像这样添加了lib。但是当我尝试从[this](https://github.com/markushi/android-ui)在我的项目xml文件中添加 xml标记时,它会给出错误:解析XML时出错:未绑定的前缀。 – Utkarsh 2014-12-04 05:29:28

+0

你可以发布你的XML吗? @Ukkarsh – 2014-12-04 06:53:54

+0

[这里](http://pastebin.com/4DuPuBWV)是我的xml。 – Utkarsh 2014-12-04 07:24:56

相关问题