Error: could not find com.google.gms:google-services:4.2.0
up vote
26
down vote
favorite
today I was trying to update com.google.gms:google-services to 4.2.0 from 4.1.0 as it's the latest version and recommended by firebase. But I get this error:
Could not find com.google.gms:google-services:4.2.0.
Searched in the following locations:
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://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://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 :
And here is my project's build gradle:
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
google()
maven {
url 'https://maven.fabric.io/public'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.2.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
// These docs use an open ended version so that our plugin
// can be updated quickly in response to Android tooling updates
// We recommend changing it to the latest version from our changelog:
// https://docs.fabric.io/android/changelog.html#fabric-gradle-plugin
classpath 'io.fabric.tools:gradle:1.27.0'
}
}
allprojects {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
}
google()
}
}
Any ideas how to fix it? Thanks in advance.
android firebase gradle
add a comment |
up vote
26
down vote
favorite
today I was trying to update com.google.gms:google-services to 4.2.0 from 4.1.0 as it's the latest version and recommended by firebase. But I get this error:
Could not find com.google.gms:google-services:4.2.0.
Searched in the following locations:
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://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://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 :
And here is my project's build gradle:
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
google()
maven {
url 'https://maven.fabric.io/public'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.2.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
// These docs use an open ended version so that our plugin
// can be updated quickly in response to Android tooling updates
// We recommend changing it to the latest version from our changelog:
// https://docs.fabric.io/android/changelog.html#fabric-gradle-plugin
classpath 'io.fabric.tools:gradle:1.27.0'
}
}
allprojects {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
}
google()
}
}
Any ideas how to fix it? Thanks in advance.
android firebase gradle
I think there is some issue withgoogle-services
same question is asked here by different user question links are here 1 2
– Nilesh Rathod
17 hours ago
1
stackoverflow.com/questions/53704155/…
– Nilesh Rathod
17 hours ago
Try this adding this repository: stackoverflow.com/a/53704634/752781
– pandre
16 hours ago
issuetracker.google.com/issues/120759347
– Steve
14 hours ago
This issue is resolved now if you usegoogle()
in your buildscript dependencies.
– Doug Stevenson
9 hours ago
add a comment |
up vote
26
down vote
favorite
up vote
26
down vote
favorite
today I was trying to update com.google.gms:google-services to 4.2.0 from 4.1.0 as it's the latest version and recommended by firebase. But I get this error:
Could not find com.google.gms:google-services:4.2.0.
Searched in the following locations:
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://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://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 :
And here is my project's build gradle:
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
google()
maven {
url 'https://maven.fabric.io/public'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.2.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
// These docs use an open ended version so that our plugin
// can be updated quickly in response to Android tooling updates
// We recommend changing it to the latest version from our changelog:
// https://docs.fabric.io/android/changelog.html#fabric-gradle-plugin
classpath 'io.fabric.tools:gradle:1.27.0'
}
}
allprojects {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
}
google()
}
}
Any ideas how to fix it? Thanks in advance.
android firebase gradle
today I was trying to update com.google.gms:google-services to 4.2.0 from 4.1.0 as it's the latest version and recommended by firebase. But I get this error:
Could not find com.google.gms:google-services:4.2.0.
Searched in the following locations:
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://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://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 :
And here is my project's build gradle:
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
google()
maven {
url 'https://maven.fabric.io/public'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.2.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
// These docs use an open ended version so that our plugin
// can be updated quickly in response to Android tooling updates
// We recommend changing it to the latest version from our changelog:
// https://docs.fabric.io/android/changelog.html#fabric-gradle-plugin
classpath 'io.fabric.tools:gradle:1.27.0'
}
}
allprojects {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
}
google()
}
}
Any ideas how to fix it? Thanks in advance.
android firebase gradle
android firebase gradle
asked 17 hours ago
Martynas Jegorovas
14818
14818
I think there is some issue withgoogle-services
same question is asked here by different user question links are here 1 2
– Nilesh Rathod
17 hours ago
1
stackoverflow.com/questions/53704155/…
– Nilesh Rathod
17 hours ago
Try this adding this repository: stackoverflow.com/a/53704634/752781
– pandre
16 hours ago
issuetracker.google.com/issues/120759347
– Steve
14 hours ago
This issue is resolved now if you usegoogle()
in your buildscript dependencies.
– Doug Stevenson
9 hours ago
add a comment |
I think there is some issue withgoogle-services
same question is asked here by different user question links are here 1 2
– Nilesh Rathod
17 hours ago
1
stackoverflow.com/questions/53704155/…
– Nilesh Rathod
17 hours ago
Try this adding this repository: stackoverflow.com/a/53704634/752781
– pandre
16 hours ago
issuetracker.google.com/issues/120759347
– Steve
14 hours ago
This issue is resolved now if you usegoogle()
in your buildscript dependencies.
– Doug Stevenson
9 hours ago
I think there is some issue with
google-services
same question is asked here by different user question links are here 1 2– Nilesh Rathod
17 hours ago
I think there is some issue with
google-services
same question is asked here by different user question links are here 1 2– Nilesh Rathod
17 hours ago
1
1
stackoverflow.com/questions/53704155/…
– Nilesh Rathod
17 hours ago
stackoverflow.com/questions/53704155/…
– Nilesh Rathod
17 hours ago
Try this adding this repository: stackoverflow.com/a/53704634/752781
– pandre
16 hours ago
Try this adding this repository: stackoverflow.com/a/53704634/752781
– pandre
16 hours ago
issuetracker.google.com/issues/120759347
– Steve
14 hours ago
issuetracker.google.com/issues/120759347
– Steve
14 hours ago
This issue is resolved now if you use
google()
in your buildscript dependencies.– Doug Stevenson
9 hours ago
This issue is resolved now if you use
google()
in your buildscript dependencies.– Doug Stevenson
9 hours ago
add a comment |
4 Answers
4
active
oldest
votes
up vote
16
down vote
accepted
Because google-services:4.2.0 is not available at Central Repository, so it needs to be downloaded from Android Tools Repository. To add this to your project add
maven { url 'https://dl.bintray.com/android/android-tools' }
this to buildscript repositories. For more refer to https://mvnrepository.com/artifact/com.google.gms/google-services/4.2.0
buildscript {
repositories {
jcenter()
google()
maven {
url 'https://maven.fabric.io/public'
}
// Add this to your project
maven { url 'https://dl.bintray.com/android/android-tools' }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.2.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
// These docs use an open ended version so that our plugin
// can be updated quickly in response to Android tooling updates
// We recommend changing it to the latest version from our changelog:
// https://docs.fabric.io/android/changelog.html#fabric-gradle-plugin
classpath 'io.fabric.tools:gradle:1.27.0'
}
}
allprojects {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
}
google()
}
}
New contributor
Thanks. Any idea when it will be available in Central Repository?
– Martynas Jegorovas
16 hours ago
1
Sorry, no idea about that in Central Repository latest version is 3.11.
– Deepanshu tyagi
16 hours ago
5
This is only a short term fix. There is currently something wrong with the Google maven repo. It's being investigated. In the long term, you should depend on usinggoogle()
in your build.gradle.
– Doug Stevenson
14 hours ago
Thanks for the heads up @DougStevenson!
– Elliott
14 hours ago
add a comment |
up vote
23
down vote
Monday December 10 2018, 1:30PM PST
The Google Play services plugin, the Firebase Performance monitoring plug, exoplayer, and possible other dependencies were found to be missing on jCenter. It's not clear why, but some of the teams are known to be moving their build artifacts to the Google maven repo.
As of right now, the Google Play services plugin has been migrated, and should be available through google() in your buildscript for now.
3
Thanks for the answer. Hope the problem is fixed as soon as possible!
– Martynas Jegorovas
14 hours ago
Thanks! Indeed, good luck with the fix! We are using the bintray one temporarily.
– Archison
14 hours ago
1
Is there somewhere we can monitor the status of this?
– Mike
13 hours ago
9
issuetracker.google.com/issues/120759347
– Hugo Gresse
13 hours ago
add a comment |
up vote
1
down vote
Try this, work for me:
buildscript {
repositories {
google()
//jcenter()
jcenter {url 'https://dl.bintray.com/android/android-tools'}
jcenter {url 'https://firebase.bintray.com/gradle'}
mavenCentral ()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.2.0'
classpath 'com.google.firebase:firebase-plugins:1.1.5'
}
}
allprojects {
repositories {
google()
//jcenter()
jcenter {url 'https://dl.bintray.com/android/android-tools'}
jcenter {url 'https://firebase.bintray.com/gradle'}
mavenCentral ()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
add a comment |
up vote
1
down vote
google-services:4.2.0 is now back on google maven repository, just sync gradle with default config:
allprojects {
repositories {
google()
jcenter()
}
}
add a comment |
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
16
down vote
accepted
Because google-services:4.2.0 is not available at Central Repository, so it needs to be downloaded from Android Tools Repository. To add this to your project add
maven { url 'https://dl.bintray.com/android/android-tools' }
this to buildscript repositories. For more refer to https://mvnrepository.com/artifact/com.google.gms/google-services/4.2.0
buildscript {
repositories {
jcenter()
google()
maven {
url 'https://maven.fabric.io/public'
}
// Add this to your project
maven { url 'https://dl.bintray.com/android/android-tools' }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.2.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
// These docs use an open ended version so that our plugin
// can be updated quickly in response to Android tooling updates
// We recommend changing it to the latest version from our changelog:
// https://docs.fabric.io/android/changelog.html#fabric-gradle-plugin
classpath 'io.fabric.tools:gradle:1.27.0'
}
}
allprojects {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
}
google()
}
}
New contributor
Thanks. Any idea when it will be available in Central Repository?
– Martynas Jegorovas
16 hours ago
1
Sorry, no idea about that in Central Repository latest version is 3.11.
– Deepanshu tyagi
16 hours ago
5
This is only a short term fix. There is currently something wrong with the Google maven repo. It's being investigated. In the long term, you should depend on usinggoogle()
in your build.gradle.
– Doug Stevenson
14 hours ago
Thanks for the heads up @DougStevenson!
– Elliott
14 hours ago
add a comment |
up vote
16
down vote
accepted
Because google-services:4.2.0 is not available at Central Repository, so it needs to be downloaded from Android Tools Repository. To add this to your project add
maven { url 'https://dl.bintray.com/android/android-tools' }
this to buildscript repositories. For more refer to https://mvnrepository.com/artifact/com.google.gms/google-services/4.2.0
buildscript {
repositories {
jcenter()
google()
maven {
url 'https://maven.fabric.io/public'
}
// Add this to your project
maven { url 'https://dl.bintray.com/android/android-tools' }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.2.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
// These docs use an open ended version so that our plugin
// can be updated quickly in response to Android tooling updates
// We recommend changing it to the latest version from our changelog:
// https://docs.fabric.io/android/changelog.html#fabric-gradle-plugin
classpath 'io.fabric.tools:gradle:1.27.0'
}
}
allprojects {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
}
google()
}
}
New contributor
Thanks. Any idea when it will be available in Central Repository?
– Martynas Jegorovas
16 hours ago
1
Sorry, no idea about that in Central Repository latest version is 3.11.
– Deepanshu tyagi
16 hours ago
5
This is only a short term fix. There is currently something wrong with the Google maven repo. It's being investigated. In the long term, you should depend on usinggoogle()
in your build.gradle.
– Doug Stevenson
14 hours ago
Thanks for the heads up @DougStevenson!
– Elliott
14 hours ago
add a comment |
up vote
16
down vote
accepted
up vote
16
down vote
accepted
Because google-services:4.2.0 is not available at Central Repository, so it needs to be downloaded from Android Tools Repository. To add this to your project add
maven { url 'https://dl.bintray.com/android/android-tools' }
this to buildscript repositories. For more refer to https://mvnrepository.com/artifact/com.google.gms/google-services/4.2.0
buildscript {
repositories {
jcenter()
google()
maven {
url 'https://maven.fabric.io/public'
}
// Add this to your project
maven { url 'https://dl.bintray.com/android/android-tools' }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.2.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
// These docs use an open ended version so that our plugin
// can be updated quickly in response to Android tooling updates
// We recommend changing it to the latest version from our changelog:
// https://docs.fabric.io/android/changelog.html#fabric-gradle-plugin
classpath 'io.fabric.tools:gradle:1.27.0'
}
}
allprojects {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
}
google()
}
}
New contributor
Because google-services:4.2.0 is not available at Central Repository, so it needs to be downloaded from Android Tools Repository. To add this to your project add
maven { url 'https://dl.bintray.com/android/android-tools' }
this to buildscript repositories. For more refer to https://mvnrepository.com/artifact/com.google.gms/google-services/4.2.0
buildscript {
repositories {
jcenter()
google()
maven {
url 'https://maven.fabric.io/public'
}
// Add this to your project
maven { url 'https://dl.bintray.com/android/android-tools' }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.2.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
// These docs use an open ended version so that our plugin
// can be updated quickly in response to Android tooling updates
// We recommend changing it to the latest version from our changelog:
// https://docs.fabric.io/android/changelog.html#fabric-gradle-plugin
classpath 'io.fabric.tools:gradle:1.27.0'
}
}
allprojects {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
}
google()
}
}
New contributor
New contributor
answered 16 hours ago
Deepanshu tyagi
18416
18416
New contributor
New contributor
Thanks. Any idea when it will be available in Central Repository?
– Martynas Jegorovas
16 hours ago
1
Sorry, no idea about that in Central Repository latest version is 3.11.
– Deepanshu tyagi
16 hours ago
5
This is only a short term fix. There is currently something wrong with the Google maven repo. It's being investigated. In the long term, you should depend on usinggoogle()
in your build.gradle.
– Doug Stevenson
14 hours ago
Thanks for the heads up @DougStevenson!
– Elliott
14 hours ago
add a comment |
Thanks. Any idea when it will be available in Central Repository?
– Martynas Jegorovas
16 hours ago
1
Sorry, no idea about that in Central Repository latest version is 3.11.
– Deepanshu tyagi
16 hours ago
5
This is only a short term fix. There is currently something wrong with the Google maven repo. It's being investigated. In the long term, you should depend on usinggoogle()
in your build.gradle.
– Doug Stevenson
14 hours ago
Thanks for the heads up @DougStevenson!
– Elliott
14 hours ago
Thanks. Any idea when it will be available in Central Repository?
– Martynas Jegorovas
16 hours ago
Thanks. Any idea when it will be available in Central Repository?
– Martynas Jegorovas
16 hours ago
1
1
Sorry, no idea about that in Central Repository latest version is 3.11.
– Deepanshu tyagi
16 hours ago
Sorry, no idea about that in Central Repository latest version is 3.11.
– Deepanshu tyagi
16 hours ago
5
5
This is only a short term fix. There is currently something wrong with the Google maven repo. It's being investigated. In the long term, you should depend on using
google()
in your build.gradle.– Doug Stevenson
14 hours ago
This is only a short term fix. There is currently something wrong with the Google maven repo. It's being investigated. In the long term, you should depend on using
google()
in your build.gradle.– Doug Stevenson
14 hours ago
Thanks for the heads up @DougStevenson!
– Elliott
14 hours ago
Thanks for the heads up @DougStevenson!
– Elliott
14 hours ago
add a comment |
up vote
23
down vote
Monday December 10 2018, 1:30PM PST
The Google Play services plugin, the Firebase Performance monitoring plug, exoplayer, and possible other dependencies were found to be missing on jCenter. It's not clear why, but some of the teams are known to be moving their build artifacts to the Google maven repo.
As of right now, the Google Play services plugin has been migrated, and should be available through google() in your buildscript for now.
3
Thanks for the answer. Hope the problem is fixed as soon as possible!
– Martynas Jegorovas
14 hours ago
Thanks! Indeed, good luck with the fix! We are using the bintray one temporarily.
– Archison
14 hours ago
1
Is there somewhere we can monitor the status of this?
– Mike
13 hours ago
9
issuetracker.google.com/issues/120759347
– Hugo Gresse
13 hours ago
add a comment |
up vote
23
down vote
Monday December 10 2018, 1:30PM PST
The Google Play services plugin, the Firebase Performance monitoring plug, exoplayer, and possible other dependencies were found to be missing on jCenter. It's not clear why, but some of the teams are known to be moving their build artifacts to the Google maven repo.
As of right now, the Google Play services plugin has been migrated, and should be available through google() in your buildscript for now.
3
Thanks for the answer. Hope the problem is fixed as soon as possible!
– Martynas Jegorovas
14 hours ago
Thanks! Indeed, good luck with the fix! We are using the bintray one temporarily.
– Archison
14 hours ago
1
Is there somewhere we can monitor the status of this?
– Mike
13 hours ago
9
issuetracker.google.com/issues/120759347
– Hugo Gresse
13 hours ago
add a comment |
up vote
23
down vote
up vote
23
down vote
Monday December 10 2018, 1:30PM PST
The Google Play services plugin, the Firebase Performance monitoring plug, exoplayer, and possible other dependencies were found to be missing on jCenter. It's not clear why, but some of the teams are known to be moving their build artifacts to the Google maven repo.
As of right now, the Google Play services plugin has been migrated, and should be available through google() in your buildscript for now.
Monday December 10 2018, 1:30PM PST
The Google Play services plugin, the Firebase Performance monitoring plug, exoplayer, and possible other dependencies were found to be missing on jCenter. It's not clear why, but some of the teams are known to be moving their build artifacts to the Google maven repo.
As of right now, the Google Play services plugin has been migrated, and should be available through google() in your buildscript for now.
edited 9 hours ago
answered 14 hours ago
Doug Stevenson
67.5k879101
67.5k879101
3
Thanks for the answer. Hope the problem is fixed as soon as possible!
– Martynas Jegorovas
14 hours ago
Thanks! Indeed, good luck with the fix! We are using the bintray one temporarily.
– Archison
14 hours ago
1
Is there somewhere we can monitor the status of this?
– Mike
13 hours ago
9
issuetracker.google.com/issues/120759347
– Hugo Gresse
13 hours ago
add a comment |
3
Thanks for the answer. Hope the problem is fixed as soon as possible!
– Martynas Jegorovas
14 hours ago
Thanks! Indeed, good luck with the fix! We are using the bintray one temporarily.
– Archison
14 hours ago
1
Is there somewhere we can monitor the status of this?
– Mike
13 hours ago
9
issuetracker.google.com/issues/120759347
– Hugo Gresse
13 hours ago
3
3
Thanks for the answer. Hope the problem is fixed as soon as possible!
– Martynas Jegorovas
14 hours ago
Thanks for the answer. Hope the problem is fixed as soon as possible!
– Martynas Jegorovas
14 hours ago
Thanks! Indeed, good luck with the fix! We are using the bintray one temporarily.
– Archison
14 hours ago
Thanks! Indeed, good luck with the fix! We are using the bintray one temporarily.
– Archison
14 hours ago
1
1
Is there somewhere we can monitor the status of this?
– Mike
13 hours ago
Is there somewhere we can monitor the status of this?
– Mike
13 hours ago
9
9
issuetracker.google.com/issues/120759347
– Hugo Gresse
13 hours ago
issuetracker.google.com/issues/120759347
– Hugo Gresse
13 hours ago
add a comment |
up vote
1
down vote
Try this, work for me:
buildscript {
repositories {
google()
//jcenter()
jcenter {url 'https://dl.bintray.com/android/android-tools'}
jcenter {url 'https://firebase.bintray.com/gradle'}
mavenCentral ()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.2.0'
classpath 'com.google.firebase:firebase-plugins:1.1.5'
}
}
allprojects {
repositories {
google()
//jcenter()
jcenter {url 'https://dl.bintray.com/android/android-tools'}
jcenter {url 'https://firebase.bintray.com/gradle'}
mavenCentral ()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
add a comment |
up vote
1
down vote
Try this, work for me:
buildscript {
repositories {
google()
//jcenter()
jcenter {url 'https://dl.bintray.com/android/android-tools'}
jcenter {url 'https://firebase.bintray.com/gradle'}
mavenCentral ()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.2.0'
classpath 'com.google.firebase:firebase-plugins:1.1.5'
}
}
allprojects {
repositories {
google()
//jcenter()
jcenter {url 'https://dl.bintray.com/android/android-tools'}
jcenter {url 'https://firebase.bintray.com/gradle'}
mavenCentral ()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
add a comment |
up vote
1
down vote
up vote
1
down vote
Try this, work for me:
buildscript {
repositories {
google()
//jcenter()
jcenter {url 'https://dl.bintray.com/android/android-tools'}
jcenter {url 'https://firebase.bintray.com/gradle'}
mavenCentral ()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.2.0'
classpath 'com.google.firebase:firebase-plugins:1.1.5'
}
}
allprojects {
repositories {
google()
//jcenter()
jcenter {url 'https://dl.bintray.com/android/android-tools'}
jcenter {url 'https://firebase.bintray.com/gradle'}
mavenCentral ()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Try this, work for me:
buildscript {
repositories {
google()
//jcenter()
jcenter {url 'https://dl.bintray.com/android/android-tools'}
jcenter {url 'https://firebase.bintray.com/gradle'}
mavenCentral ()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.2.0'
classpath 'com.google.firebase:firebase-plugins:1.1.5'
}
}
allprojects {
repositories {
google()
//jcenter()
jcenter {url 'https://dl.bintray.com/android/android-tools'}
jcenter {url 'https://firebase.bintray.com/gradle'}
mavenCentral ()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
edited 14 hours ago
answered 14 hours ago
Novian Agung
414
414
add a comment |
add a comment |
up vote
1
down vote
google-services:4.2.0 is now back on google maven repository, just sync gradle with default config:
allprojects {
repositories {
google()
jcenter()
}
}
add a comment |
up vote
1
down vote
google-services:4.2.0 is now back on google maven repository, just sync gradle with default config:
allprojects {
repositories {
google()
jcenter()
}
}
add a comment |
up vote
1
down vote
up vote
1
down vote
google-services:4.2.0 is now back on google maven repository, just sync gradle with default config:
allprojects {
repositories {
google()
jcenter()
}
}
google-services:4.2.0 is now back on google maven repository, just sync gradle with default config:
allprojects {
repositories {
google()
jcenter()
}
}
answered 9 hours ago
Hani
1111
1111
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53706565%2ferror-could-not-find-com-google-gmsgoogle-services4-2-0%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I think there is some issue with
google-services
same question is asked here by different user question links are here 1 2– Nilesh Rathod
17 hours ago
1
stackoverflow.com/questions/53704155/…
– Nilesh Rathod
17 hours ago
Try this adding this repository: stackoverflow.com/a/53704634/752781
– pandre
16 hours ago
issuetracker.google.com/issues/120759347
– Steve
14 hours ago
This issue is resolved now if you use
google()
in your buildscript dependencies.– Doug Stevenson
9 hours ago