看来不是这样。
我刚刚使用最新的谷歌播放服务编译了一个应用程序,我在gradle中设置为:
compile 'com.google.android.gms:play-services:+'
但是当我打开我的应用程序时,会出现一个巨大的警告。
![enter image description here](https://istack.dev59.com/ktI8W.webp)
W/GooglePlayServicesUtil:Google Play服务已过期。需要5208000,但发现5089070。
如果我打开Google Play(按“更新”按钮),我可以看到我的Google Play服务已经完全更新了。
这种情况发生在Genymotion模拟器以及Nexus 5设备上。
我尝试过以下方法:
compile 'com.google.android.gms:play-services:5.2.8'
然而它抱怨道:
错误: 无法找到 com.google.android.gms:play-services:5.2.8。 需要它的是: :mobile:unspecified > :BaseGameUtils:unspecified
有什么提示吗?