我越来越"错误:没有资源的发现(在用价值@整/ google_play_services_version值)QUOT匹配给定的名称; [英] I'm getting "Error: No resource found that matches the given name (at value with value @integer/google_play_services_version)"
问题描述
我开发的离子型框架的应用程序/科尔多瓦,当我尝试科尔多瓦运行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.
点击文件>导入,选择的Android>现有Android的code到工作区,并浏览该工作区导入库项目。
Click File > Import, select Android > Existing Android Code into Workspace, and browse the workspace import the library project.
右键点击你的Android项目。转到属性。在左侧面板上选择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.
结算这个环节,以供参考。 <一href="http://developer.android.com/tools/projects/projects-eclipse.html#ReferencingLibraryProject">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
这篇关于我越来越&QUOT;错误:没有资源的发现(在用价值@整/ google_play_services_version值)QUOT匹配给定的名称;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!