2017-08-30 92 views
1

我想在Android Studio的模拟器中尝试Google Maps Wear Activity来开发自定义应用程序。 然而,普通样品不因下列错误的工作:Google Play服务在穿戴模拟器中过时

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

我阅读下列主题: Google Play services out of date. Requires 11011000 but found 10289574 和 更新手机的谷歌播放。另外,我确认了模拟器和Android Studio是最新版本。 但是,我无法解决错误并了解如何更新Google Play的穿着。

+0

你可以尝试使用Android的牛轧糖两种仿真器? – noogui

+0

嗨,@noogui,谢谢你的回复! 我尝试使用Android Nougat模拟器,但没有任何改变。 难道你不知道如何更新Android Wear的Google Play服务吗? Android Wear的Google play服务版本为10.2.89。 我认为这是造成这个问题的原因。 – gellpro

回答

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'. 

问候

相关问题