找不到参数的方法classpath() 类型对象上的[com.google.gms:google-services:4.0.0] org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler
答案 0 :(得分:0)
您必须将类路径“ com.google.gms:google-services:4.0.0”放入项目级别的build.gradle文件中。
buildscript {
dependencies {
classpath 'com.google.gms:google-services:4.0.0'
//otherS
}
}