2017-02-27 55 views
-2

在我的应用我的gradle使用:我如何在我的项目中使用播放服务作为`10.2.0`版本?

compile 'com.google.android.gms:play-services-maps:10.0.1' 
compile 'com.google.android.gms:play-services-location:10.0.1' 
compile 'com.google.android.gms:play-services-gcm:10.0.1' 
compile 'com.google.android.gms:play-services-analytics:10.0.1' 

,但它说有一个使用10.2.0版本的依赖。但我无法找到依赖关系。

我不想更新到10.2.0,不建议这样做。

如何找到使用播放服务的库为10.2.0版本?

+0

如果您正在使用运行gradlew应用窗口:依赖在Android Studio中 –

回答

0

做一两件事 -
此选项只会工作,如果你正在使用Windows操作系统使用默认设置的Android工作室

  • Ctrl + Shift + F
  • 搜索10.2.0

    你有结果。
+0

的终端,我已经搜索到。什么都没找到。 –

+0

张贴错误消息。 – Wizard

0
compile 'com.google.android.gms:play-services-maps:10.0.1' 
compile 'com.google.android.gms:play-services-location:10.0.1' 
compile 'com.google.android.gms:play-services-gcm:10.0.1' 
compile 'com.google.android.gms:play-services-analytics:10.0.1' 

Replace these lines with below line 

compile 'com.google.android.gms:play-services:10.0.0' 
相关问题