Installing Android dependencies problem


#1

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?


#2

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 :


#3

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


#4

Hy!

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


Install-missing-android-tools is failing
#5

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.


#6

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.


#7

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


#8

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