How to update google play in android

扶醉桌前 提交于 2019-12-24 11:31:29

问题


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:

  1. remove local copy of google play service from workspace
  2. open Android SDK Manager
  3. delete google play service
  4. install google play service
  5. 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

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