Android的支持库V17为Eclipse

Android的支持库V17为Eclipse

本文介绍了Android的支持库V17为Eclipse的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚开始工作的的Andr​​oid-L 。我创建的的HelloWorld 项目在Eclipse中。但我得到的红色标记在每个 android.support.v17 进口。

I just started working on Android-L. I have created HelloWorld project in Eclipse. but i got red markers at every android.support.v17 imports.

import android.support.v17.leanback.widget.ImageCardView;
import android.support.v17.leanback.widget.Presenter;
import android.support.v17.leanback.widget.AbstractDetailsDescriptionPresenter;
import android.support.v17.leanback.app.BackgroundManager;
import android.support.v17.leanback.app.BrowseFragment;
import android.support.v17.leanback.widget.ArrayObjectAdapter;
import android.support.v17.leanback.widget.HeaderItem;
import android.support.v17.leanback.widget.ListRow;
import android.support.v17.leanback.widget.ListRowPresenter;
import android.support.v17.leanback.widget.OnItemClickedListener;
import android.support.v17.leanback.widget.OnItemSelectedListener;
import android.support.v17.leanback.widget.Presenter;
import android.support.v17.leanback.widget.Row;

我已经更新我的支持库,但我不能看到任何的支持V17 我的 SDK

I have already update my Support Library but i cant see any Support V17 in my SDK.

所以有人请点我我怎样才能下载呢?我使用的Eclipse开普勒。

So someone please point me how can i download it? I am using Eclipse Kepler.

推荐答案

在present时间,的Leanback-V17 只能从谷歌作为一个AAR。

At the present time, leanback-v17 is only available from Google as an AAR.

如果你碰巧使用Maven的构建系统,在 Android的Maven的插件的。

If you happen to be using Maven for your build system, the android-maven-plugin supports AARs.

或者,你可以尝试转换AAR成一个Android库项目。我还没有亲自尝试这种方式与的Leanback-V17 ,只是还没有,所以我不知道是否有任何具体的问题,这AAR将导致。

Or, you can try to convert the AAR into an Android library project. I have not personally tried this approach with leanback-v17 just yet, so I do not know if there are any specific problems that that AAR will cause.

或者,您可以切换到摇篮为Android,有无Android的工作室,并消耗了AAR本地。

Or, you can switch to Gradle for Android, with or without Android Studio, and consume the AAR "natively".

这篇关于Android的支持库V17为Eclipse的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-05 03:49