Jitpack.io: Could not find com.google.gms:google-services:4.2.0.

Created on 10 Dec 2018  路  2Comments  路  Source: jitpack/jitpack.io

Please provide:

Build starting...
Start: Mon Dec 10 13:47:25 UTC 2018 eb09924e8ac0
Git:
1.3.0-0-g23c4f84
commit 23c4f84c8024c9237651e76dd36827ba641d2796
Merge: e8fadf5 b572c47
Author: Niels Delporte 
Date:   Mon Dec 10 14:44:47 2018 +0100

    Merge branch 'hotfix/1.3.0'

Run gradle build
Gradle build script
Using gradle wrapper
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Djavax.xml.accessExternalSchema=all -Dhttps.protocols=TLSv1.2
Downloading https://services.gradle.org/distributions/gradle-4.6-all.zip
.....................................................................................................
Unzipping /home/jitpack/.gradle/wrapper/dists/gradle-4.6-all/bcst21l2brirad8k2ben1letg/gradle-4.6-all.zip to /home/jitpack/.gradle/wrapper/dists/gradle-4.6-all/bcst21l2brirad8k2ben1letg
Set executable permissions for: /home/jitpack/.gradle/wrapper/dists/gradle-4.6-all/bcst21l2brirad8k2ben1letg/gradle-4.6/bin/gradle

------------------------------------------------------------
Gradle 4.6
------------------------------------------------------------

Build time:   2018-02-28 13:36:36 UTC
Revision:     8fa6ce7945b640e6168488e4417f9bb96e4ab46c

Groovy:       2.4.12
Ant:          Apache Ant(TM) version 1.9.9 compiled on February 2 2017
JVM:          1.8.0_181 (Oracle Corporation 25.181-b13)
OS:           Linux 4.10.0-28-generic amd64

Getting tasks: ./gradlew tasks --all
0m4.316s
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Djavax.xml.accessExternalSchema=all -Dhttps.protocols=TLSv1.2

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'build'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not find com.google.gms:google-services:4.2.0.
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/google/gms/google-services/4.2.0/google-services-4.2.0.pom
         https://dl.google.com/dl/android/maven2/com/google/gms/google-services/4.2.0/google-services-4.2.0.jar
         https://jcenter.bintray.com/com/google/gms/google-services/4.2.0/google-services-4.2.0.pom
         https://jcenter.bintray.com/com/google/gms/google-services/4.2.0/google-services-4.2.0.jar
         https://maven.fabric.io/public/com/google/gms/google-services/4.2.0/google-services-4.2.0.pom
         https://maven.fabric.io/public/com/google/gms/google-services/4.2.0/google-services-4.2.0.jar
     Required by:
         project :

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 8s
Tasks: 
WARNING:
Gradle 'install' task not found. Please add the 'maven' or 'android-maven' plugin.
See the documentation and examples: https://jitpack.io/docs/

Adding maven plugin
Found android library build file in sdk
Running: ./gradlew clean -Pgroup=com.gitlab.accuratai -Pversion=1.3.0 install
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Djavax.xml.accessExternalSchema=all -Dhttps.protocols=TLSv1.2

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'build'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not find com.google.gms:google-services:4.2.0.
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/com/google/gms/google-services/4.2.0/google-services-4.2.0.pom
         https://dl.google.com/dl/android/maven2/com/google/gms/google-services/4.2.0/google-services-4.2.0.jar
         https://jcenter.bintray.com/com/google/gms/google-services/4.2.0/google-services-4.2.0.pom
         https://jcenter.bintray.com/com/google/gms/google-services/4.2.0/google-services-4.2.0.jar
         https://maven.fabric.io/public/com/google/gms/google-services/4.2.0/google-services-4.2.0.pom
         https://maven.fabric.io/public/com/google/gms/google-services/4.2.0/google-services-4.2.0.jar
         https://repo.maven.apache.org/maven2/com/google/gms/google-services/4.2.0/google-services-4.2.0.pom
         https://repo.maven.apache.org/maven2/com/google/gms/google-services/4.2.0/google-services-4.2.0.jar
         https://jcenter.bintray.com/com/google/gms/google-services/4.2.0/google-services-4.2.0.pom
         https://jcenter.bintray.com/com/google/gms/google-services/4.2.0/google-services-4.2.0.jar
     Required by:
         project :

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 2s
EXIT_CODE=1
2018-12-10T13:47:39.590750329Z
Exit code: 1
No build artifacts found
  • Does the project build on your machine with the same commands?
    Yes, it does.

  • What error are you seeing?
    It couldn't find the Google Services plugin.
    Could not find com.google.gms:google-services:4.2.0.

Thank you!

Most helpful comment

i think it's up now try to rebuild again

All 2 comments

i think it's up now try to rebuild again

It is fully functioning now, thanks @oahmedazab !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jitpack-io picture jitpack-io  路  6Comments

SilenceDut picture SilenceDut  路  4Comments

vananiev picture vananiev  路  5Comments

Hala-Nearmotion picture Hala-Nearmotion  路  4Comments

msgilligan picture msgilligan  路  6Comments