首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >是否将Google Play服务版本添加到您的应用程序清单中?

是否将Google Play服务版本添加到您的应用程序清单中?
EN

Stack Overflow用户
提问于 2013-11-10 01:28:19
回答 13查看 189.9K关注 0票数 88

我遵循这个教程:https://developers.google.com/maps/documentation/android/start#overview关于如何在Android SDK中将Google Maps添加到应用程序中。

我唯一的问题似乎是在这段时间内(我已经做了所有其他的事情,没有错误):

代码语言:javascript
复制
Edit your application's AndroidManifest.xml file, and add the following declaration within the

 <application> element. This embeds the version of Google Play services that the app was compiled with.

 <meta-data
 android:name="com.google.android.gms.version"
 android:value="@integer/google_play_services_version" />

The error is:
   No resources found that match the given name (at 'value' with value '@integer/    
   google_play_services_version').

我尝试遵循这个人的解决方案来解决相同的问题:Google Play Services Library update and missing symbol @integer/google_play_services_version

但我仍然收到相同的错误。有什么需要帮忙的吗?

EN

Stack Overflow用户

发布于 2014-03-11 14:15:01

我得到了同样的错误;我之前安装了Google Maps的google-play-services_lib (它工作得很好),但是后来当我尝试将元数据条目添加到我的Manifest时,我得到了这个错误。我尝试了上述所有建议,但都无法正确链接它们;我最终从我的项目中删除了链接( project -properties-Android,删除google-play-services_lib库),然后从Eclipse工作区中删除,删除磁盘上的文件,最后使用SDK管理器从头开始重新安装。

这似乎终于成功了;现在Eclipse决定允许我没有错误地离开元数据条目。

票数 1
EN
查看全部 13 条回答
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/19879844

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档