Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error:Could not find com.google.firebase:firebase-plugins:1.1.5

Not able to build the code getting error.

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 :

After lot of googling did not find any working solution.

top level gradle file apply plugin: 'com.google.gms.google-services' already added.

google(),jcentre repository added in build.gradle file.

like image 547
inder Avatar asked Dec 10 '18 19:12

inder


2 Answers

I had the same issue this morning and I resolved adding the following to the repositories block of my project:

jcenter {url 'https://firebase.bintray.com/gradle'}
like image 106
Oscar Salguero Avatar answered Oct 24 '22 01:10

Oscar Salguero


It seems another case where the artifact gone missing. I found there is another artifact called com.google.firebase:perf-plugin:1.1.5 and use it instead of com.google.firebase:firebase-plugins:1.1.5 to make my build works again. But somehow this is not documented anywhere so i am not sure whether this is intended name changes or not.

like image 36
Andri Ihsannudin Avatar answered Oct 24 '22 01:10

Andri Ihsannudin