Failed to find provider info for com.google.plus.platform

女生的网名这么多〃 提交于 2019-12-18 18:56:25

问题


I have integrated an app with Google+ platform as well as a Google+ button so far. Things seem to be working ok, but I keep on getting this message appears in the logs quite often..

06-30 15:14:58.296: E/ActivityThread(2308): Failed to find provider info for com.google.plus.platform

Has anyone seen this before. Can anyone explain to me what it is as I cannot find any explanation for it yet?


回答1:


Well I think i have found the reason for this message after adding admob to one of my new projects. Fortunately its is not an error, but a warning.

And it happens if the application google+ is not installed in the phone where the application runs. It seems that admob tries to find specific ads for a person based on his google plus account if he has installed the app in his phone.

Or it just throws the message

Failed to find provider info for com.google.plus.platform

and continues to show general ads.

What i have done was to install the google+ app in my phone and logged in with my account. And after that when i run my app it doesn't throw this message when ads are being refreshed.

So you can't do something to fix this warning and you should not be worried about it as your ads will continue to show without a problem.




回答2:


if you are getting this error while you have added Google Admob add, then it comes usually due to the wrong ID we have putted in the xml file:

   ads:adUnitId="ca-app-pub-1403552879675846/2424242" 

Its not a publisher ID, but it is the application unique id:

  • In Admob, go to Monetise, All Apps.
  • ckick on your app to open
  • you will get 'Add Unit ID' just below your app

Now replace it in xml file and run it.



来源:https://stackoverflow.com/questions/17390573/failed-to-find-provider-info-for-com-google-plus-platform

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