2016-04-21 75 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->是库

相关问题