Google Play服务过时.需要10298000,但找到了10084470,Google Maps



我正在尝试在我的Android应用程序上显示地图,它在此之前正常工作,我今天尝试在模拟器中运行我的应用程序,并收到此错误消息:

Google Play services out of date.  Requires 10298000 but found 10084470

我怀疑我没有在Gradle文件中编译正确的依赖项,但我不确定哪些会起作用。这是我目前使用的:

compile 'com.google.android.gms:play-services-maps:+'
compile 'com.google.android.gms:play-services-location:+'

我也有点困惑,因为昨天正常工作!

从依赖项中删除加上Plus,并给出特定版本的PlayService。

最新更新