2016-04-21 74 views
-1

我在工作中使用舊項目,我不知道如何添加衛星菜單https://github.com/siyamed/android-satellite-menu,它的項目由多個項目組成。所以,我在Eclipse中工作,我有舊的源代碼。 我導入了我的項目中的所有文件夾,並且一切正常,排除1個文件夾 - 衛星菜單。據我瞭解,這是我在這裏寫的一個圖書館。所以,當我嘗試導入它作爲一個項目,我有一個錯誤:從GitHub如何在我的項目中添加衛星菜單

The container 'Android Dependencies' references non existing library 'C:\Users\Vladimir\workspace\satellite-menu\bin\satellite-menu.jar'

文件夾沒有一個jar文件,當其他項目的文件夾一樣。

這是我的代碼的一部分

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 
xmlns:sat="http://schemas.android.com/apk/res/com.wtfmagazine" 
android:layout_width="fill_parent" 
android:layout_height="fill_parent" 
android:orientation="vertical" > 

<android.view.ext.SatelliteMenu 
     android:id="@+id/menu" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:layout_alignParentBottom="true" 
     android:layout_gravity="bottom|left" 
     android:layout_margin="10dp" 
     sat:closeOnClick="true" 
     sat:expandDuration="300" 
     sat:mainImage="@drawable/menu" 
     sat:satelliteDistance="130dp" 
     sat:totalSpacingDegree="90" /> 

所以,我怎麼也該菜單附加到這個項目中。 我試圖創建。來自此文件夾的jar - 不起作用。

+0

下載JAR從這裏http://06peng.googlecode.com/svn/trunk/satellite-menu/斌/ –

回答

0

的解決辦法是增加衛星項目爲庫:項目 - >屬性 - > android->是庫

相關問題