Gradle 未找到 DSL 方法 'compile()'(firebase 冲突)

Gradle DSL method not found 'compile()' (firebase conflict)

MY ERROR

我在 Whosebug 上浏览了很多 post 这个问题,几乎每个人都说可能导致这种情况的主要问题是在项目级 gradle 文件中编译库,但我的文件依赖项如下所示:

dependencies {
    classpath 'com.google.gms:google-services:3.1.0'
    classpath 'com.android.tools.build:gradle:2.3.3'
}

此外,我的应用级 gradle 文件如下所示

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    testCompile 'junit:junit:4.12'

    compile 'com.android.support:design:25.3.1'
    compile 'com.android.support:appcompat-v7:25.3.1'

    compile 'com.github.bumptech.glide:glide:3.7.0'

    complie 'com.google.firebase:firebase-auth:11.0.2'
    compile 'com.google.firebase:firebase-database:11.0.2'
    compile 'com.firebaseui:firebase-ui-auth:2.0.1'
}

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

它指向 46 行等于 遵守 'com.google.firebase:firebase-auth:11.0.2'

这是我在 Whosebug 上的第一个 post,很抱歉,如果提供的信息可能不正确,感谢您的帮助

有错字。

您写的是 complie 而不是 compile