0
votes

I am using https://developers.google.com/mobile-ads-sdk/docs/admob/fundamentals#play, to add admob ads to my android application but I am unable to do so. I followed the link on stackoverflow Google Play services out of date. Requires 4030500 but found 3266132 but it could not solve my issue.

I am getting the warning :-W/GooglePlayServicesUtil(5051): Google Play services out of date. Requires 4452000 but found 4448036

and error:-E/GooglePlayServicesUtil(8963): GooglePlayServices not available due to error 2

I have updated my Google Play Services jar also

1

1 Answers

2
votes

The error says Google Play services out of date. Requires 4452000 but found 4448036 - that means your device needs to install the newest version of Google Play Services. Per ensuring Google Play Services exists, you can use GooglePlayServicesUtil.getErrorDialog(), passing in the error code to generate the correct dialog to allow the user to correct any problems.