找到com.google.android.gms:play-services:8.4.0,但google-services插件需要8.3.0版本 [英] Found com.google.android.gms:play-services:8.4.0, but version 8.3.0 is needed for the google-services plugin

查看:201
本文介绍了找到com.google.android.gms:play-services:8.4.0,但google-services插件需要8.3.0版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于上述错误,无法使用谷歌地图。任何人都可以找到相同的问题?

解决方案

确保以下行在应用程序build.gradle结尾处为 文件:

  apply plugin:'com.google.gms.google-services'
code>

Mine排在最前面,gradle默认为8.3.0,而不是指定的值:8.4.0



我的build.gradle文件与版本冲突更新至8.4.0


Can't use google maps because of above said error. Anyone find the same issue ?

解决方案

Make sure that the following line is at the end of the app build.gradle file:

apply plugin: 'com.google.gms.google-services'

Mine was on the top and gradle was defaulting to 8.3.0 instead of what was specified: 8.4.0

My build.gradle files are the same as the ones in the Version conflict updating to 8.4.0

这篇关于找到com.google.android.gms:play-services:8.4.0,但google-services插件需要8.3.0版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆