Android 工作室在 build.gradle 中读错了名字

Android studio reads the wrong name in build.gradle

Android 工作室在尝试构建项目后抛出错误:

ERROR: Could not find com.google.gms.google-services:4.1.0:.

这意味着在 'com.google.gms.google-services:4.1.0' Android 行中,Studio 读取 'com.google.gms.google-services:4.1.0:' 并在行尾显示 :。有什么想法吗?

这是我的 gradle 文件的一部分

  dependencies {
            classpath 'com.google.gms.google-services:4.1.0'
            classpath 'io.fabric.tools:gradle:1.28.1'
            classpath 'com.android.tools.build:gradle:3.4.0'
            classpath 'me.tatarka:gradle-retrolambda:3.7.0'
            classpath 'io.realm:realm-gradle-plugin:5.5.0'

        }

看看这个com.google.gms:google-services:4.1.0看看你有没有!