How to update Google Play Services for Android Studio 2.2 emulators?

后端 未结 8 1609
逝去的感伤
逝去的感伤 2020-11-30 13:48

There are a number of variations of this question, however most are very old, and don\'t really answer the question at all. I\'m NOT asking how to install Play Services, th

8条回答
  •  有刺的猬
    2020-11-30 14:06

    This may not be relevant to this question now, but wanted to post it here for future explorers, so that they see some land at the end of the sea. I had been struggling with this out of date Google Play Service on my Nexus 5 x86 emulator running API 25 and trying Firebase notification. I am using Firebase 10.0.1 which needs Google Play Services 10.0.1. But on my emulator, I always used to get the message

    W/GooglePlayServicesUtil: Google Play services out of date. Requires 1008400 but found 9874900

    W/FA: Service connection failed: ConnectionResult{statusCode=SERVICE_VERSION_UPDATE_REQUIRED, resolution=null, message=null}

    I had searched extensively a way to update the Google Play Services on my emulator, and whatever was suggested never worked. Finally, I tried creating a new emulator Nexus 5 x86_64 and API 24. Voila!!! It has Google Play Services 10.0.1 and my app works now.

    It really beats me why the x86 image does not have the latest Google Play Serviecs and it does not allow me to update it in any manner, while the x86_64 image has the latest Google Play Services.

    Hope this helps someone struggling with Google Play Services.

提交回复
热议问题