Installing Android dependencies problem

Hello,

Today I have started facing the problems with a build of an Android Application. Problem is occurring during the step install-missing-android-tools. The only message that I can see in the logs is Failed to find missing components, retrying.... Problem occurs while fetching dependency Could not find com.google.gms:google-services:4.0.2, but it does not occur on the local machines. Is there any way to get rid of this problem for Bitrise builds?

same here
A problem occurred configuring root project ‘src’.

Could not resolve all artifacts for configuration ‘:classpath’.
Could not find com.google.gms:google-services:4.0.1.
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/google/gms/google-services/4.0.1/google-services-4.0.1.pom
https://dl.google.com/dl/android/maven2/com/google/gms/google-services/4.0.1/google-services-4.0.1.jar
https://repo.maven.apache.org/maven2/com/google/gms/google-services/4.0.1/google-services-4.0.1.pom
https://repo.maven.apache.org/maven2/com/google/gms/google-services/4.0.1/google-services-4.0.1.jar
https://jcenter.bintray.com/com/google/gms/google-services/4.0.1/google-services-4.0.1.pom
https://jcenter.bintray.com/com/google/gms/google-services/4.0.1/google-services-4.0.1.jar
Required by:
project :

2 Likes

For info. Build started magically to work right now. There is no problem anymore. I will try to give more accurate info next time it will happen

1 Like

Hy!

could you insert this to the repositories field in build.gradle file?
maven { url 'https://dl.bintray.com/android/android-tools/' }

I’m also getting the same problem as rohitbaghela. Adding that line didn’t fix it. Builds were working fine on Friday and nothing changed since then so could be a problem with the repo it’s pulling from.

You need to add repo which @fehersanyi-bitrise mentioned to the buildscript block.

It seems that Google moved artifacts to the new maven repo on bintray.

Whoops, I had it in the individual module build.gradle file, that’s why it wasn’t working. Thanks.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.