进口android.support.v7.app.MediaRouteActionProvider不能得到解决 [英] The import android.support.v7.app.MediaRouteActionProvider cannot be resolved
问题描述
我想使用的GoogleMap V2。但我得到的导入错误这些:
I am trying to use GoogleMap V2 .But i am getting error on import these :
import android.support.v7.app.MediaRouteActionProvider;
import android.support.v7.media.MediaRouteSelector;
import android.support.v7.media.MediaRouter;
import android.support.v7.media.MediaRouter.RouteInfo;
和错误的是
The import android.support.v7.app.MediaRouteActionProvider cannot be resolved
下面的屏幕截图,我已经添加了库
Here is the screen shot of the library that i have added
我必须做的。我已经尝试导入机器人\ SUPPORT \ V7 通过构建路径。但它不解决我的问题,有没有什么办法,这样我可以解决这些错误。
What i have to do .I have tried to import android\support\v7 By Build path .But it is not resolving my issue in there any way so that i can resolve these errors.
推荐答案
看起来你已经添加gridlayout.jar到项目的lib文件夹。
It looks like you have added gridlayout.jar to the projects lib folder.
它的库项目的资源。您需要引用该库项目,你的android谟
Its a library project with resources. You need to reference the library project in your android projet
该库位于< SDK> /演员/安卓/支持/ V7 /网格布局/
目录下载Android支持库后
This library is located in the <sdk>/extras/android/support/v7/gridlayout/
directory after you download the Android Support Libraries.
请添加库与资源
<一个href="http://developer.android.com/tools/support-library/setup.html#libs-with-res">http://developer.android.com/tools/support-library/setup.html#libs-with-res
这篇关于进口android.support.v7.app.MediaRouteActionProvider不能得到解决的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!