升级到Google Play服务:9.0.0错误无法解决:com.google.android.gms:play-services-measurement:9.0.0 [英] Upgrade to Google Play Services:9.0.0 Error Failed to resolve: com.google.android.gms:play-services-measurement:9.0.0
问题描述
我从
compile'com.google.android.gms:play-services:8.4升级了我的build.gradle文件.0'
到
compile'com.google.android.gms:play-services:9.0.0'
现在我得到了这个错误,我没有得到。
错误:无法解析:com.google.android.gms:play-services-measurement:9.0.0
在项目级gradle中更新您的类路径 com.google.gms:google-services:2.1.0
到classpath com.google。 gms:google-services:3.0.0
I upgraded my build.gradle file from
compile 'com.google.android.gms:play-services:8.4.0'
to
compile 'com.google.android.gms:play-services:9.0.0'
and now I am getting this error that I wasn't getting before.
Error:Failed to resolve: com.google.android.gms:play-services-measurement:9.0.0
This was found to fix the problem.
Update your classpath in project level gradle com.google.gms:google-services:2.1.0
to classpath com.google.gms:google-services:3.0.0
这篇关于升级到Google Play服务:9.0.0错误无法解决:com.google.android.gms:play-services-measurement:9.0.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!