问题
Good Noon to all
I'm developing an application which is based on accessing google account for login purpose of my own appplication.
If i run my application means it throws an error as
"Google Play services out of date. Requires 4452000 but found 3136130"
here is my screen shot
回答1:
I faced the same problem, solution (for Eclipse) was:
- remove local copy of google play service from workspace
- open Android SDK Manager
- delete google play service
- install google play service
- add local copy of google play service to workspace
Done!
回答2:
If you search Google play Services in the google play store, you will find an app by google you have to download to get this functionality. If you have any problems, here's the link:
https://play.google.com/store/apps/details?id=com.google.android.gms&hl=nl
回答3:
I've tried creating new emulators with the normal API levels (tried 17 and 19) and adding the apk from this thread but it doesn't seems to work after the update. I did get it to work though by creating an emulator using the Google API level 19.
To get it to work I think you need to do (assuming Eclipse):
- Window->Android SDK Manager and make sure all is up to date.
- Update the google play library you've imported to your Workbench
- Create a new device (after updating) with Target Google API lvl 19
Then start the emulator and install your app. For me that made the map work. I think your problem is that you've updated the google play library to the newest while you created the emulator before that. Then it doesn't have the version installed you are using in your project.
来源:https://stackoverflow.com/questions/23867378/how-to-update-google-play-in-android