LogCat消息:找不到Google Play服务资源。检查项目配置以确保包含资源

本文翻译自:LogCat message: The Google Play services resources were not found. Check your project configuration to ensure that the resources are included

I have an application that uses the Google Maps Android v2 API. 我有一个使用Google Maps Android v2 API的应用程序。 I've added the google-play-services_lib library project to my workspace and added a reference to it from my application project, following the instructions on these pages: 我已将google-play-services_lib库项目添加到我的工作区,并根据这些页面上的说明从我的应用程序项目中添加了对它的引用:

Everything seems to work fine: The app displays maps and overlays with the default markers. 一切似乎都运行正常:应用程序使用默认标记显示地图和叠加层。 So I'm pretty sure I've got the Google Play services and Google Maps API stuff set up correctly. 所以我很确定我已经正确设置了Google Play服务和Google Maps API。

However, I see this message in the ADT LogCat window whenever the map view is initialized (on a 2nd-gen Nexus 7): 但是,每当初始化地图视图时(在第二代Nexus 7上),我都会在ADT LogCat窗口中看到此消息:

The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.

The message level is Error, and the tag is GooglePlayServicesUtil . 消息级别为Error,标记为GooglePlayServicesUtil

This seems benig

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值