Dolapo Toki
Dolapo Toki

Reputation: 362

Google Play Services not updating not to 10.0.+ on emulators

I can't seem to get the latest google play service on any android studio emulator. I'm running android studio 2.2 with google play version 38. I've uninstalled and reinstalled the avd images for nougat(7.0) and marshmallow(6.0). when I create a new device check settings->apps->google play services the version number is still (9.8.70)

My nexus 6 phone is running google play service(10.0.84) so I don't understand why the nougat(7.0) and marshmallow(6.0)emulator image should be lower than that.

is anyone having a similar issue or know a workaround this problem?

Upvotes: 3

Views: 1099

Answers (3)

Eugen Pechanec
Eugen Pechanec

Reputation: 38223

Download latest "Google APIs System Image" under "Android 7.1.1 API 25)" bucket in your SDK Manager.

If the image does not contain Google Play services 10, wait for update.


There's a lot of myth around this so I'll ask anyway:

Did you know you don't have to depend on latest Play services library if you don't use features introduced in that version?

Stick with 9.8.0. Or 9.6.1. Or 9.4.0. It's ok.

Upvotes: 0

Georgi Dimitrov
Georgi Dimitrov

Reputation: 1

Edit: It was fixed.

I have the same issue. I needed to update 'google services', because 'google maps' isn't working in the emulator.

However when I try to manually change the version of 'google-services' to '10.0.1' it gives me an error, telling me to 'update the repository', which has a faulty link to it.

I'm now working around it with an older version of my app, but 'google maps' is still inactive for me.

Guess, we just have to wait for an update.

Upvotes: 0

Android Enthusiast
Android Enthusiast

Reputation: 4950

Try to download and install the latest APK for Play Services as stated in this thread.

Based from Google documentation, try to navigate to settings--> apps in your emulator and then find Google Play Services. Check the version number and use it in you build.gradle.

As described in the Google Play services overview, Google Play delivers service updates for users on Android 2.3 and higher through the Google Play Store app. However, updates might not reach all users immediately, so your app should verify the version available before attempting to perform API transactions.

Upvotes: 1

Related Questions