我越来越"错误:没有资源的发现(在用价值@整/ google_play_services_version值)QUOT匹配给定的名称;错误、名称、价值、发现

由网友(旅途爱人)分享简介:我开发的离子型框架的应用程序/科尔多瓦,当我尝试科尔多瓦运行Android我得到这样的:I'm developing an app on Ionic Framework/cordova, and when I try "cordova run android" I get this:错误:没有资源的发现,在价值与匹...

我开发的离子型框架的应用程序/科尔多瓦,当我尝试科尔多瓦运行Android我得到这样的:

I'm developing an app on Ionic Framework/cordova, and when I try "cordova run android" I get this:

错误:没有资源的发现,在价值与匹配给定名称(   值@整数/ google_play_services_version)

"Error: No resource found that matches the given name (at value with value @integer/google_play_services_version)"

我真的不知道发生了什么,我试图用一个固定值设置的值(我知道是不是最好的解决方案),以及问题仍然存在。

I don't really know what is happening, I tried to set the value with a fixed value (I know is not the best solution), and the problem continues.

在此先感谢!

推荐答案

谷歌的播放services_lib库项目复制到您的工作空间或导入库项目到Eclipse。

Copy the google-play services_lib library project to your workspace OR Import the library project to your eclipse.

点击文件>导入,选择的Andr​​oid>现有Android的code到工作区,并浏览该工作区导入库项目。

Click File > Import, select Android > Existing Android Code into Workspace, and browse the workspace import the library project.

右键点击你的Andr​​oid项目。转到属性。在左侧面板上选择Android系统。点击添加并浏览库项目。选择相同。单击确定和适用。

Right click on your android project. Goto properties. Choose Android on the left panel. Click on Add and browse the library project. Select the same. Click ok and apply.

结算这个环节,以供参考。 http://developer.android.com/tools/projects/projects-eclipse.html#ReferencingLibraryProject

checkout this link for reference. http://developer.android.com/tools/projects/projects-eclipse.html#ReferencingLibraryProject

阅读全文

相关推荐

最新文章