我遵循这个教程:https://developers.google.com/maps/documentation/android/start#overview关于如何在Android SDK中将Google Maps添加到应用程序中。
我唯一的问题似乎是在这段时间内(我已经做了所有其他的事情,没有错误):
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
但我仍然收到相同的错误。有什么需要帮忙的吗?
发布于 2014-03-11 14:15:01
我得到了同样的错误;我之前安装了Google Maps的google-play-services_lib (它工作得很好),但是后来当我尝试将元数据条目添加到我的Manifest时,我得到了这个错误。我尝试了上述所有建议,但都无法正确链接它们;我最终从我的项目中删除了链接( project -properties-Android,删除google-play-services_lib库),然后从Eclipse工作区中删除,删除磁盘上的文件,最后使用SDK管理器从头开始重新安装。
这似乎终于成功了;现在Eclipse决定允许我没有错误地离开元数据条目。
https://stackoverflow.com/questions/19879844
复制相似问题