Google Play services resources were not found. 'AdsMob'

前提是你 提交于 2019-12-03 22:07:12
03-13 16:49:41.585: E/GooglePlayServicesUtil(29755): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.

is a benign error. If the ads are showing don't worry about it. Your code looks fine.

I have the same error running my apps on my device. It seems that the problem have to do with your device.Try using your app to another device

If the ads will appear, your code seems to be fine.

Also you can change this line to this:

AdRequest adRequest = new AdRequest.Builder().build();

Make sure that you have the correct google play libraries in your project

If you have done these : https://developers.google.com/mobile-ads-sdk/docs/ Your app ads should work perfectly

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!