Google Play services out of date in emulator of wear

时间:2017-08-30 20:56:26

标签: android google-maps google-play-services wear-os

I want to try the Google Maps Wear Activity in the emulator of Android Studio to develop a custom app. However, the plain sample doesn't work because of the following error:

Google Play services out of date. Requires 11020000 but found 10298574.

I read the following thread: Google Play services out of date. Requires 11011000 but found 10289574 and updated the Google Play of mobile. Additionally, I confirmed the emulator and Android Studio is the latest version. However, I couldn't solve the error and understand how to update the Google Play for wear.

1 个答案:

答案 0 :(得分:0)

我可以通过降级Google Play服务来解决这个问题。 我使用了以下代码:

compile 'com.google.android.gms:play-services-wearable:10.2.6'
compile 'com.google.android.gms:play-services-maps:10.2.6'

而不是以下代码:

compile 'com.google.android.gms:play-services-wearable:11.0.4'
compile 'com.google.android.gms:play-services-maps:11.0.4'.

祝你好运

相关问题