简体   繁体   English

找不到Google Play服务资源

[英]Google play services resource not found

I am trying to put AdsMob on my application 我正在尝试将AdsMob放在我的应用程序上
as per https://developers.google.com/mobile-ads-sdk/docs/admob/fundamentals#play 按照https://developers.google.com/mobile-ads-sdk/docs/admob/fundamentals#play

But I am getting the Google play services resource not found in log cat I've configured the play services lib project. 但是我得到了在log cat中找不到的Google Play服务资源,我已经配置了play services lib项目。

I've used the following code to check play services available in device which is successful 我已使用以下代码检查设备中的播放服务是否成功
int resultCode = GooglePlayServicesUtil.isGooglePlayServicesAvailable(getApplicationContext()); if (resultCode == ConnectionResult.SUCCESS){ Log.d("Success","device has play service"); }

Please check the screenshots 请检查屏幕截图 lib项目设置的屏幕截图

错误日志的屏幕截图

This is not a problem you should be worried about. 这不是您应该担心的问题。

Google answers this in their FAQ and states, "You can safely ignore this message. Your app will still fetch and serve banner ads" Google在其常见问题解答中回答了这一问题,并指出:“您可以放心地忽略此消息。您的应用仍将获取并投放横幅广告”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM