找到 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

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

问题描述

由于上述错误,无法使用谷歌地图.有人发现同样的问题吗?

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

推荐答案

确保以下行位于app build.gradle 文件的末尾:

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

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

我的在顶部,gradle 默认为 8.3.0 而不是指定的:8.4.0

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

我的 build.gradle 文件与版本冲突中的文件相同更新到 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天全站免登陆