2014-12-04 26 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

相關問題