错误:找不到com.google.firebase:firebase-plugins:1.1.5

ind*_*ine 10 android firebase android-studio android-gradle-plugin

无法构建代码获取错误.

CONFIGURE FAILED in 5s
Could not find com.google.firebase:firebase-plugins:1.1.5.
Searched in the following locations:
    https://dl.google.com/dl/android/maven2/com/google/firebase/firebase-plugins/1.1.5/firebase-plugins-1.1.5.pom
    https://dl.google.com/dl/android/maven2/com/google/firebase/firebase-plugins/1.1.5/firebase-plugins-1.1.5.jar
    https://jcenter.bintray.com/com/google/firebase/firebase-plugins/1.1.5/firebase-plugins-1.1.5.pom
    https://jcenter.bintray.com/com/google/firebase/firebase-plugins/1.1.5/firebase-plugins-1.1.5.jar
    https://dl.bintray.com/android/android-tools/com/google/firebase/firebase-plugins/1.1.5/firebase-plugins-1.1.5.pom
    https://dl.bintray.com/android/android-tools/com/google/firebase/firebase-plugins/1.1.5/firebase-plugins-1.1.5.jar
Required by:
    project :
Run Code Online (Sandbox Code Playgroud)

经过大量的谷歌搜索没有找到任何有效的解决方案.

顶级gradle文件应用插件:已添加'com.google.gms.google-services'.

google(),在build.gradle文件中添加了jcentre存储库.

Osc*_* S. 15

今天早上我遇到了同样的问题,我决定将以下内容添加到项目的存储库块中:

jcenter {url 'https://firebase.bintray.com/gradle'}
Run Code Online (Sandbox Code Playgroud)