Gradle sync fails - play-services-measurement-base The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) The Ask Question Wizard is Live! Data science time! April 2019 and salary with experiencecom.google.android.gms:play-services-measurement-base is being requested by various other librariesgradle build failed while adding firebase MLFirebase - Gradle failed on build - com.google.android.gms:play-services-measurement-baseGradle sync failed:library com.google.android.gms:play-services-basementHow to fix google play service errorAndroid Studio Error The library com.google.android.gms:play-services-measurement-baseFailed to resolve: play-services-flagsHow to resolve all google play-services dependencies with gradle?com.google.android.gms:play-services-measurement-base is being requested by various other librariesFirebase - Gradle failed on build - com.google.android.gms:play-services-measurement-baseGradle project sync failed.Basic functionality(eg editing,debugging) will not work properlyFlutter : Gradle build failedCheck your dependencies tree usingUnresolved reference GoogleSignIn
Do working physicists consider Newtonian mechanics to be "falsified"?
How does ice melt when immersed in water?
How long does the line of fire that you can create as an action using the Investiture of Flame spell last?
Are my PIs rude or am I just being too sensitive?
Did the new image of black hole confirm the general theory of relativity?
Why does this iterative way of solving of equation work?
What do you call a plan that's an alternative plan in case your initial plan fails?
Is there a writing software that you can sort scenes like slides in PowerPoint?
What can I do if neighbor is blocking my solar panels intentionally?
Simulating Exploding Dice
What's the point in a preamp?
How do I add random spotting to the same face in cycles?
How should I replace vector<uint8_t>::const_iterator in an API?
Netflix Recommendations?
Typeface like Times New Roman but with "tied" percent sign
Segmentation fault output is suppressed when piping stdin into a function. Why?
Do warforged have souls?
University's motivation for having tenure-track positions
How did passengers keep warm on sail ships?
First use of “packing” as in carrying a gun
What is special about square numbers here?
Make it rain characters
Who or what is the being for whom Being is a question for Heidegger?
Semisimplicity of the category of coherent sheaves?
Gradle sync fails - play-services-measurement-base
The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
The Ask Question Wizard is Live!
Data science time! April 2019 and salary with experiencecom.google.android.gms:play-services-measurement-base is being requested by various other librariesgradle build failed while adding firebase MLFirebase - Gradle failed on build - com.google.android.gms:play-services-measurement-baseGradle sync failed:library com.google.android.gms:play-services-basementHow to fix google play service errorAndroid Studio Error The library com.google.android.gms:play-services-measurement-baseFailed to resolve: play-services-flagsHow to resolve all google play-services dependencies with gradle?com.google.android.gms:play-services-measurement-base is being requested by various other librariesFirebase - Gradle failed on build - com.google.android.gms:play-services-measurement-baseGradle project sync failed.Basic functionality(eg editing,debugging) will not work properlyFlutter : Gradle build failedCheck your dependencies tree usingUnresolved reference GoogleSignIn
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I have a problem on my Android project, I can't build, this is the error I have:
Failed to notify dependency resolution listener.
The library com.google.android.gms:play-services-measurement-base is being requested by various other libraries at [[15.0.2,15.0.2], [15.0.4,15.0.4]], but resolves to 15.0.4. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.
I tried many different solution I found but the problem persists.
I have the right dependencies and repositories on gradle file on project root:
dependencies
classpath 'com.android.tools.build:gradle:3.1.2'
classpath 'com.google.gms:google-services:4.0.1'
and
repositories
jcenter()
mavenLocal()
mavenCentral()
maven
url "https://maven.google.com"
On my app gradle I have the following dependencies:
implementation "com.google.android.gms:play-services-maps:15.0.1"
implementation "com.google.android.gms:play-services-places:15.0.1"
implementation "com.google.android.gms:play-services-gcm:15.0.1"
implementation "com.google.android.gms:play-services-location:15.0.1"
implementation "com.google.android.gms:play-services-analytics:15.0.2"
implementation "com.google.android.gms:play-services-auth:15.0.1"
implementation "com.google.android.gms:play-services-tagmanager:15.0.2"
implementation "com.google.firebase:firebase-core:16.0.0"
Some suggestions?
The solution was update the following dependencies:
implementation "com.google.android.gms:play-services-analytics:16.0.0"
implementation "com.google.android.gms:play-services-tagmanager:16.0.0"
android android-studio gradle android-gradle google-play-services
add a comment |
I have a problem on my Android project, I can't build, this is the error I have:
Failed to notify dependency resolution listener.
The library com.google.android.gms:play-services-measurement-base is being requested by various other libraries at [[15.0.2,15.0.2], [15.0.4,15.0.4]], but resolves to 15.0.4. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.
I tried many different solution I found but the problem persists.
I have the right dependencies and repositories on gradle file on project root:
dependencies
classpath 'com.android.tools.build:gradle:3.1.2'
classpath 'com.google.gms:google-services:4.0.1'
and
repositories
jcenter()
mavenLocal()
mavenCentral()
maven
url "https://maven.google.com"
On my app gradle I have the following dependencies:
implementation "com.google.android.gms:play-services-maps:15.0.1"
implementation "com.google.android.gms:play-services-places:15.0.1"
implementation "com.google.android.gms:play-services-gcm:15.0.1"
implementation "com.google.android.gms:play-services-location:15.0.1"
implementation "com.google.android.gms:play-services-analytics:15.0.2"
implementation "com.google.android.gms:play-services-auth:15.0.1"
implementation "com.google.android.gms:play-services-tagmanager:15.0.2"
implementation "com.google.firebase:firebase-core:16.0.0"
Some suggestions?
The solution was update the following dependencies:
implementation "com.google.android.gms:play-services-analytics:16.0.0"
implementation "com.google.android.gms:play-services-tagmanager:16.0.0"
android android-studio gradle android-gradle google-play-services
update to the latest version
– Kopi Bryant
May 28 '18 at 15:31
@KopiBryant what do you mean? Everything is already updated
– Giorgio
May 28 '18 at 16:05
Be sure that the offline work in the gradle setting is unchecked.
– Amir Hossein
May 28 '18 at 17:11
add a comment |
I have a problem on my Android project, I can't build, this is the error I have:
Failed to notify dependency resolution listener.
The library com.google.android.gms:play-services-measurement-base is being requested by various other libraries at [[15.0.2,15.0.2], [15.0.4,15.0.4]], but resolves to 15.0.4. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.
I tried many different solution I found but the problem persists.
I have the right dependencies and repositories on gradle file on project root:
dependencies
classpath 'com.android.tools.build:gradle:3.1.2'
classpath 'com.google.gms:google-services:4.0.1'
and
repositories
jcenter()
mavenLocal()
mavenCentral()
maven
url "https://maven.google.com"
On my app gradle I have the following dependencies:
implementation "com.google.android.gms:play-services-maps:15.0.1"
implementation "com.google.android.gms:play-services-places:15.0.1"
implementation "com.google.android.gms:play-services-gcm:15.0.1"
implementation "com.google.android.gms:play-services-location:15.0.1"
implementation "com.google.android.gms:play-services-analytics:15.0.2"
implementation "com.google.android.gms:play-services-auth:15.0.1"
implementation "com.google.android.gms:play-services-tagmanager:15.0.2"
implementation "com.google.firebase:firebase-core:16.0.0"
Some suggestions?
The solution was update the following dependencies:
implementation "com.google.android.gms:play-services-analytics:16.0.0"
implementation "com.google.android.gms:play-services-tagmanager:16.0.0"
android android-studio gradle android-gradle google-play-services
I have a problem on my Android project, I can't build, this is the error I have:
Failed to notify dependency resolution listener.
The library com.google.android.gms:play-services-measurement-base is being requested by various other libraries at [[15.0.2,15.0.2], [15.0.4,15.0.4]], but resolves to 15.0.4. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.
I tried many different solution I found but the problem persists.
I have the right dependencies and repositories on gradle file on project root:
dependencies
classpath 'com.android.tools.build:gradle:3.1.2'
classpath 'com.google.gms:google-services:4.0.1'
and
repositories
jcenter()
mavenLocal()
mavenCentral()
maven
url "https://maven.google.com"
On my app gradle I have the following dependencies:
implementation "com.google.android.gms:play-services-maps:15.0.1"
implementation "com.google.android.gms:play-services-places:15.0.1"
implementation "com.google.android.gms:play-services-gcm:15.0.1"
implementation "com.google.android.gms:play-services-location:15.0.1"
implementation "com.google.android.gms:play-services-analytics:15.0.2"
implementation "com.google.android.gms:play-services-auth:15.0.1"
implementation "com.google.android.gms:play-services-tagmanager:15.0.2"
implementation "com.google.firebase:firebase-core:16.0.0"
Some suggestions?
The solution was update the following dependencies:
implementation "com.google.android.gms:play-services-analytics:16.0.0"
implementation "com.google.android.gms:play-services-tagmanager:16.0.0"
android android-studio gradle android-gradle google-play-services
android android-studio gradle android-gradle google-play-services
edited May 29 '18 at 9:53
Giorgio
asked May 28 '18 at 15:25
GiorgioGiorgio
220139
220139
update to the latest version
– Kopi Bryant
May 28 '18 at 15:31
@KopiBryant what do you mean? Everything is already updated
– Giorgio
May 28 '18 at 16:05
Be sure that the offline work in the gradle setting is unchecked.
– Amir Hossein
May 28 '18 at 17:11
add a comment |
update to the latest version
– Kopi Bryant
May 28 '18 at 15:31
@KopiBryant what do you mean? Everything is already updated
– Giorgio
May 28 '18 at 16:05
Be sure that the offline work in the gradle setting is unchecked.
– Amir Hossein
May 28 '18 at 17:11
update to the latest version
– Kopi Bryant
May 28 '18 at 15:31
update to the latest version
– Kopi Bryant
May 28 '18 at 15:31
@KopiBryant what do you mean? Everything is already updated
– Giorgio
May 28 '18 at 16:05
@KopiBryant what do you mean? Everything is already updated
– Giorgio
May 28 '18 at 16:05
Be sure that the offline work in the gradle setting is unchecked.
– Amir Hossein
May 28 '18 at 17:11
Be sure that the offline work in the gradle setting is unchecked.
– Amir Hossein
May 28 '18 at 17:11
add a comment |
17 Answers
17
active
oldest
votes
I had the same exact error, upgrading analytics
was the key:
implementation 'com.google.android.gms:play-services-analytics:16.0.0'
I know you thought everything is updated referring to the official website, but writing 15.0.0
and looking for suggestions works better.
yes, thanks a lot!! In my case I need to update also com.google.android.gms:play-services-tagmanager to 16.0.0
– Giorgio
May 29 '18 at 9:52
4
Watch out as I had to downgrade from 16.0.1 to 16.0.0 to make it work.
– Michał Tajchert
Jun 14 '18 at 21:19
I too opt the write 15.0.0 option and it worked !!
– Jashan PJ
Jun 21 '18 at 6:07
1
Check the newest versions for each lib here: dl.google.com/dl/android/maven2/index.html
– elliptic1
Jul 28 '18 at 14:15
add a comment |
I just added right after the apply plugin: 'com.google.gms.google-services'
at the bottom of my build.gradle :
apply plugin: 'com.google.gms.google-services'
// Work around
com.google.gms.googleservices.GoogleServicesPlugin.config.disableVersionCheck = true
Thank you! Is this a safe fix, though?
– JeremyF
Sep 21 '18 at 3:20
@JeremyF this solution has been successfully used since June 2018 in my real projects that have thousands of users but "...THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY..." :)
– Dima Kozhevin
Sep 21 '18 at 6:06
Amazing !! Thank you
– Arash Hatami
Nov 16 '18 at 15:59
add a comment |
Update project gradle play service dependency with latest release :
classpath 'com.google.gms:google-services:4.0.1'
and
Update project firebase products usage as per firebase latest release note
it is already updated, check my question
– Giorgio
May 29 '18 at 8:33
Please try to invalidate,clean and rebuild project.
– Gautam Dev
May 29 '18 at 9:12
I tried it and it didn't solve the issue, I updated the question with the solution
– Giorgio
May 29 '18 at 9:54
add a comment |
this shoud be on top if you use firebase libraries:
implementation "com.google.firebase:firebase-core:16.0.0"
For those using this with the android gradle plugin >= 3.1 and google-services=4.1.0 this may be your issue~
– squirly
Sep 25 '18 at 17:18
add a comment |
In my case the issue was OneSignal, which somehow broke everything down.
They even have a dedicated library for this: https://github.com/OneSignal/OneSignal-Gradle-Plugin
and the actual issue was that OneSignal was inside my app-level gradle, instead of root one.
Freaking ridiculous!
1
From their Android SDK Install docs it looks like they want it in theapp/build.gradle
documentation.onesignal.com/docs/android-sdk-setup
– Jim Factor
Jun 12 '18 at 5:35
@JimFactor Yeah, but somehow this was the issue and I've spent like half a day trying to figure it up; ended up this this solution and everything seems just fine since then
– egorikem
Jun 13 '18 at 8:37
add a comment |
My problem was that I was importing oneSignal
gradle plugin but I do not import the full apply plugin: 'com.google.gms.google-services'
.
To fix I just had to add the implementations I was using.
add a comment |
repositories
maven
url "https://maven.google.com"
jcenter()
Try this one , place maven url on top inside repositories in build.gradle
it is already present, I updated my question
– Giorgio
May 29 '18 at 8:33
@Giorgio I faced same issue, after placing maven url "maven.google.com" on top (Before jcenter() ) that worked for me....i am talking about sequences
– Ravi Kishan Nag
May 29 '18 at 8:54
I tried it and it didn't solve the issue, I updated the question with the solution
– Giorgio
May 29 '18 at 9:54
add a comment |
Update build.gradle
buildscript
...
dependencies
classpath 'com.android.tools.build:gradle:3.1.2' //< update version
classpath 'com.google.gms:google-services:3.1.1' //< update version
This would help you I guess
check my question, they are already updated to the last version
– Giorgio
May 29 '18 at 8:29
add a comment |
Update the build.gradle file from the project root folder. I've tried this and it was helping.
buildscript
repositories
jcenter()
maven
url 'https://maven.google.com/'
name 'Google'
google()
dependencies
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
allprojects
repositories
google()
----
add a comment |
Make sure you added following line in bottom of app gradle
apply plugin: 'com.google.gms.google-services'
Make sure you are using compatible google-services in project level gradle
dependencies
classpath 'com.google.gms:google-services:4.0.1'
Check if you have added following dependency
implementation 'com.google.firebase:firebase-core:16.0.1'
add a comment |
I have answered a similar issue here. You need to keep versions of play services and firebase to latest one. Check here for links
https://stackoverflow.com/a/52696667/3333878
add a comment |
This worked for me.this shoud be on top if you use firebase libraries:
implementation "com.google.firebase:firebase-core:15.0.0"
add a comment |
For future users: Open build.gradle files and just hover your mouse on the dependencies and a tooltip gonna show up telling your the newest version and that should solve your problem.
Beware that Firebase Documentations does not have the newest versions.
add a comment |
Try to set
classpath 'com.google.gms:google-services:3.2.1'
instead of
classpath 'com.google.gms:google-services:3.3.0'
It's helped in my case, but I don't know the cause of the error.
add a comment |
Try to set
classpath 'com.google.gms:google-services:3.2.1'
instead of
classpath 'com.google.gms:google-services:4.0.1'
It's helped in my case, but I don't know the cause of the error.
downgrading is not a good solution
– Shayan_Aryan
Mar 7 at 12:25
add a comment |
Check Answer by Bhupendra Acharya from
https://groups.google.com/forum/#!topic/firebase-talk/XbGR-YrsTTA works for you. I got the following error
The library com.google.android.gms:play-services-basement is being requested by various other libraries at [[15.0.1,15.0.1]], but resolves to 16.0.1. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.
While using
implementation 'com.google.firebase:firebase-core:16.0.1'
And resolved by updating the version
implementation 'com.google.firebase:firebase-core:16.0.4'
add a comment |
update classpath for com.google.firebase:firebase-core:16+
classpath 'com.google.gms:google-services:4.2.0'
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
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%2f50569501%2fgradle-sync-fails-play-services-measurement-base%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
17 Answers
17
active
oldest
votes
17 Answers
17
active
oldest
votes
active
oldest
votes
active
oldest
votes
I had the same exact error, upgrading analytics
was the key:
implementation 'com.google.android.gms:play-services-analytics:16.0.0'
I know you thought everything is updated referring to the official website, but writing 15.0.0
and looking for suggestions works better.
yes, thanks a lot!! In my case I need to update also com.google.android.gms:play-services-tagmanager to 16.0.0
– Giorgio
May 29 '18 at 9:52
4
Watch out as I had to downgrade from 16.0.1 to 16.0.0 to make it work.
– Michał Tajchert
Jun 14 '18 at 21:19
I too opt the write 15.0.0 option and it worked !!
– Jashan PJ
Jun 21 '18 at 6:07
1
Check the newest versions for each lib here: dl.google.com/dl/android/maven2/index.html
– elliptic1
Jul 28 '18 at 14:15
add a comment |
I had the same exact error, upgrading analytics
was the key:
implementation 'com.google.android.gms:play-services-analytics:16.0.0'
I know you thought everything is updated referring to the official website, but writing 15.0.0
and looking for suggestions works better.
yes, thanks a lot!! In my case I need to update also com.google.android.gms:play-services-tagmanager to 16.0.0
– Giorgio
May 29 '18 at 9:52
4
Watch out as I had to downgrade from 16.0.1 to 16.0.0 to make it work.
– Michał Tajchert
Jun 14 '18 at 21:19
I too opt the write 15.0.0 option and it worked !!
– Jashan PJ
Jun 21 '18 at 6:07
1
Check the newest versions for each lib here: dl.google.com/dl/android/maven2/index.html
– elliptic1
Jul 28 '18 at 14:15
add a comment |
I had the same exact error, upgrading analytics
was the key:
implementation 'com.google.android.gms:play-services-analytics:16.0.0'
I know you thought everything is updated referring to the official website, but writing 15.0.0
and looking for suggestions works better.
I had the same exact error, upgrading analytics
was the key:
implementation 'com.google.android.gms:play-services-analytics:16.0.0'
I know you thought everything is updated referring to the official website, but writing 15.0.0
and looking for suggestions works better.
answered May 29 '18 at 9:40
Hamzeh SobohHamzeh Soboh
4,57853050
4,57853050
yes, thanks a lot!! In my case I need to update also com.google.android.gms:play-services-tagmanager to 16.0.0
– Giorgio
May 29 '18 at 9:52
4
Watch out as I had to downgrade from 16.0.1 to 16.0.0 to make it work.
– Michał Tajchert
Jun 14 '18 at 21:19
I too opt the write 15.0.0 option and it worked !!
– Jashan PJ
Jun 21 '18 at 6:07
1
Check the newest versions for each lib here: dl.google.com/dl/android/maven2/index.html
– elliptic1
Jul 28 '18 at 14:15
add a comment |
yes, thanks a lot!! In my case I need to update also com.google.android.gms:play-services-tagmanager to 16.0.0
– Giorgio
May 29 '18 at 9:52
4
Watch out as I had to downgrade from 16.0.1 to 16.0.0 to make it work.
– Michał Tajchert
Jun 14 '18 at 21:19
I too opt the write 15.0.0 option and it worked !!
– Jashan PJ
Jun 21 '18 at 6:07
1
Check the newest versions for each lib here: dl.google.com/dl/android/maven2/index.html
– elliptic1
Jul 28 '18 at 14:15
yes, thanks a lot!! In my case I need to update also com.google.android.gms:play-services-tagmanager to 16.0.0
– Giorgio
May 29 '18 at 9:52
yes, thanks a lot!! In my case I need to update also com.google.android.gms:play-services-tagmanager to 16.0.0
– Giorgio
May 29 '18 at 9:52
4
4
Watch out as I had to downgrade from 16.0.1 to 16.0.0 to make it work.
– Michał Tajchert
Jun 14 '18 at 21:19
Watch out as I had to downgrade from 16.0.1 to 16.0.0 to make it work.
– Michał Tajchert
Jun 14 '18 at 21:19
I too opt the write 15.0.0 option and it worked !!
– Jashan PJ
Jun 21 '18 at 6:07
I too opt the write 15.0.0 option and it worked !!
– Jashan PJ
Jun 21 '18 at 6:07
1
1
Check the newest versions for each lib here: dl.google.com/dl/android/maven2/index.html
– elliptic1
Jul 28 '18 at 14:15
Check the newest versions for each lib here: dl.google.com/dl/android/maven2/index.html
– elliptic1
Jul 28 '18 at 14:15
add a comment |
I just added right after the apply plugin: 'com.google.gms.google-services'
at the bottom of my build.gradle :
apply plugin: 'com.google.gms.google-services'
// Work around
com.google.gms.googleservices.GoogleServicesPlugin.config.disableVersionCheck = true
Thank you! Is this a safe fix, though?
– JeremyF
Sep 21 '18 at 3:20
@JeremyF this solution has been successfully used since June 2018 in my real projects that have thousands of users but "...THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY..." :)
– Dima Kozhevin
Sep 21 '18 at 6:06
Amazing !! Thank you
– Arash Hatami
Nov 16 '18 at 15:59
add a comment |
I just added right after the apply plugin: 'com.google.gms.google-services'
at the bottom of my build.gradle :
apply plugin: 'com.google.gms.google-services'
// Work around
com.google.gms.googleservices.GoogleServicesPlugin.config.disableVersionCheck = true
Thank you! Is this a safe fix, though?
– JeremyF
Sep 21 '18 at 3:20
@JeremyF this solution has been successfully used since June 2018 in my real projects that have thousands of users but "...THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY..." :)
– Dima Kozhevin
Sep 21 '18 at 6:06
Amazing !! Thank you
– Arash Hatami
Nov 16 '18 at 15:59
add a comment |
I just added right after the apply plugin: 'com.google.gms.google-services'
at the bottom of my build.gradle :
apply plugin: 'com.google.gms.google-services'
// Work around
com.google.gms.googleservices.GoogleServicesPlugin.config.disableVersionCheck = true
I just added right after the apply plugin: 'com.google.gms.google-services'
at the bottom of my build.gradle :
apply plugin: 'com.google.gms.google-services'
// Work around
com.google.gms.googleservices.GoogleServicesPlugin.config.disableVersionCheck = true
answered Jun 28 '18 at 9:40
Dima KozhevinDima Kozhevin
2,22862135
2,22862135
Thank you! Is this a safe fix, though?
– JeremyF
Sep 21 '18 at 3:20
@JeremyF this solution has been successfully used since June 2018 in my real projects that have thousands of users but "...THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY..." :)
– Dima Kozhevin
Sep 21 '18 at 6:06
Amazing !! Thank you
– Arash Hatami
Nov 16 '18 at 15:59
add a comment |
Thank you! Is this a safe fix, though?
– JeremyF
Sep 21 '18 at 3:20
@JeremyF this solution has been successfully used since June 2018 in my real projects that have thousands of users but "...THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY..." :)
– Dima Kozhevin
Sep 21 '18 at 6:06
Amazing !! Thank you
– Arash Hatami
Nov 16 '18 at 15:59
Thank you! Is this a safe fix, though?
– JeremyF
Sep 21 '18 at 3:20
Thank you! Is this a safe fix, though?
– JeremyF
Sep 21 '18 at 3:20
@JeremyF this solution has been successfully used since June 2018 in my real projects that have thousands of users but "...THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY..." :)
– Dima Kozhevin
Sep 21 '18 at 6:06
@JeremyF this solution has been successfully used since June 2018 in my real projects that have thousands of users but "...THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY..." :)
– Dima Kozhevin
Sep 21 '18 at 6:06
Amazing !! Thank you
– Arash Hatami
Nov 16 '18 at 15:59
Amazing !! Thank you
– Arash Hatami
Nov 16 '18 at 15:59
add a comment |
Update project gradle play service dependency with latest release :
classpath 'com.google.gms:google-services:4.0.1'
and
Update project firebase products usage as per firebase latest release note
it is already updated, check my question
– Giorgio
May 29 '18 at 8:33
Please try to invalidate,clean and rebuild project.
– Gautam Dev
May 29 '18 at 9:12
I tried it and it didn't solve the issue, I updated the question with the solution
– Giorgio
May 29 '18 at 9:54
add a comment |
Update project gradle play service dependency with latest release :
classpath 'com.google.gms:google-services:4.0.1'
and
Update project firebase products usage as per firebase latest release note
it is already updated, check my question
– Giorgio
May 29 '18 at 8:33
Please try to invalidate,clean and rebuild project.
– Gautam Dev
May 29 '18 at 9:12
I tried it and it didn't solve the issue, I updated the question with the solution
– Giorgio
May 29 '18 at 9:54
add a comment |
Update project gradle play service dependency with latest release :
classpath 'com.google.gms:google-services:4.0.1'
and
Update project firebase products usage as per firebase latest release note
Update project gradle play service dependency with latest release :
classpath 'com.google.gms:google-services:4.0.1'
and
Update project firebase products usage as per firebase latest release note
answered May 29 '18 at 4:16
Gautam DevGautam Dev
35913
35913
it is already updated, check my question
– Giorgio
May 29 '18 at 8:33
Please try to invalidate,clean and rebuild project.
– Gautam Dev
May 29 '18 at 9:12
I tried it and it didn't solve the issue, I updated the question with the solution
– Giorgio
May 29 '18 at 9:54
add a comment |
it is already updated, check my question
– Giorgio
May 29 '18 at 8:33
Please try to invalidate,clean and rebuild project.
– Gautam Dev
May 29 '18 at 9:12
I tried it and it didn't solve the issue, I updated the question with the solution
– Giorgio
May 29 '18 at 9:54
it is already updated, check my question
– Giorgio
May 29 '18 at 8:33
it is already updated, check my question
– Giorgio
May 29 '18 at 8:33
Please try to invalidate,clean and rebuild project.
– Gautam Dev
May 29 '18 at 9:12
Please try to invalidate,clean and rebuild project.
– Gautam Dev
May 29 '18 at 9:12
I tried it and it didn't solve the issue, I updated the question with the solution
– Giorgio
May 29 '18 at 9:54
I tried it and it didn't solve the issue, I updated the question with the solution
– Giorgio
May 29 '18 at 9:54
add a comment |
this shoud be on top if you use firebase libraries:
implementation "com.google.firebase:firebase-core:16.0.0"
For those using this with the android gradle plugin >= 3.1 and google-services=4.1.0 this may be your issue~
– squirly
Sep 25 '18 at 17:18
add a comment |
this shoud be on top if you use firebase libraries:
implementation "com.google.firebase:firebase-core:16.0.0"
For those using this with the android gradle plugin >= 3.1 and google-services=4.1.0 this may be your issue~
– squirly
Sep 25 '18 at 17:18
add a comment |
this shoud be on top if you use firebase libraries:
implementation "com.google.firebase:firebase-core:16.0.0"
this shoud be on top if you use firebase libraries:
implementation "com.google.firebase:firebase-core:16.0.0"
answered Aug 1 '18 at 16:16
Sergio BañaresSergio Bañares
8615
8615
For those using this with the android gradle plugin >= 3.1 and google-services=4.1.0 this may be your issue~
– squirly
Sep 25 '18 at 17:18
add a comment |
For those using this with the android gradle plugin >= 3.1 and google-services=4.1.0 this may be your issue~
– squirly
Sep 25 '18 at 17:18
For those using this with the android gradle plugin >= 3.1 and google-services=4.1.0 this may be your issue~
– squirly
Sep 25 '18 at 17:18
For those using this with the android gradle plugin >= 3.1 and google-services=4.1.0 this may be your issue~
– squirly
Sep 25 '18 at 17:18
add a comment |
In my case the issue was OneSignal, which somehow broke everything down.
They even have a dedicated library for this: https://github.com/OneSignal/OneSignal-Gradle-Plugin
and the actual issue was that OneSignal was inside my app-level gradle, instead of root one.
Freaking ridiculous!
1
From their Android SDK Install docs it looks like they want it in theapp/build.gradle
documentation.onesignal.com/docs/android-sdk-setup
– Jim Factor
Jun 12 '18 at 5:35
@JimFactor Yeah, but somehow this was the issue and I've spent like half a day trying to figure it up; ended up this this solution and everything seems just fine since then
– egorikem
Jun 13 '18 at 8:37
add a comment |
In my case the issue was OneSignal, which somehow broke everything down.
They even have a dedicated library for this: https://github.com/OneSignal/OneSignal-Gradle-Plugin
and the actual issue was that OneSignal was inside my app-level gradle, instead of root one.
Freaking ridiculous!
1
From their Android SDK Install docs it looks like they want it in theapp/build.gradle
documentation.onesignal.com/docs/android-sdk-setup
– Jim Factor
Jun 12 '18 at 5:35
@JimFactor Yeah, but somehow this was the issue and I've spent like half a day trying to figure it up; ended up this this solution and everything seems just fine since then
– egorikem
Jun 13 '18 at 8:37
add a comment |
In my case the issue was OneSignal, which somehow broke everything down.
They even have a dedicated library for this: https://github.com/OneSignal/OneSignal-Gradle-Plugin
and the actual issue was that OneSignal was inside my app-level gradle, instead of root one.
Freaking ridiculous!
In my case the issue was OneSignal, which somehow broke everything down.
They even have a dedicated library for this: https://github.com/OneSignal/OneSignal-Gradle-Plugin
and the actual issue was that OneSignal was inside my app-level gradle, instead of root one.
Freaking ridiculous!
answered Jun 7 '18 at 10:53
egorikemegorikem
666716
666716
1
From their Android SDK Install docs it looks like they want it in theapp/build.gradle
documentation.onesignal.com/docs/android-sdk-setup
– Jim Factor
Jun 12 '18 at 5:35
@JimFactor Yeah, but somehow this was the issue and I've spent like half a day trying to figure it up; ended up this this solution and everything seems just fine since then
– egorikem
Jun 13 '18 at 8:37
add a comment |
1
From their Android SDK Install docs it looks like they want it in theapp/build.gradle
documentation.onesignal.com/docs/android-sdk-setup
– Jim Factor
Jun 12 '18 at 5:35
@JimFactor Yeah, but somehow this was the issue and I've spent like half a day trying to figure it up; ended up this this solution and everything seems just fine since then
– egorikem
Jun 13 '18 at 8:37
1
1
From their Android SDK Install docs it looks like they want it in the
app/build.gradle
documentation.onesignal.com/docs/android-sdk-setup– Jim Factor
Jun 12 '18 at 5:35
From their Android SDK Install docs it looks like they want it in the
app/build.gradle
documentation.onesignal.com/docs/android-sdk-setup– Jim Factor
Jun 12 '18 at 5:35
@JimFactor Yeah, but somehow this was the issue and I've spent like half a day trying to figure it up; ended up this this solution and everything seems just fine since then
– egorikem
Jun 13 '18 at 8:37
@JimFactor Yeah, but somehow this was the issue and I've spent like half a day trying to figure it up; ended up this this solution and everything seems just fine since then
– egorikem
Jun 13 '18 at 8:37
add a comment |
My problem was that I was importing oneSignal
gradle plugin but I do not import the full apply plugin: 'com.google.gms.google-services'
.
To fix I just had to add the implementations I was using.
add a comment |
My problem was that I was importing oneSignal
gradle plugin but I do not import the full apply plugin: 'com.google.gms.google-services'
.
To fix I just had to add the implementations I was using.
add a comment |
My problem was that I was importing oneSignal
gradle plugin but I do not import the full apply plugin: 'com.google.gms.google-services'
.
To fix I just had to add the implementations I was using.
My problem was that I was importing oneSignal
gradle plugin but I do not import the full apply plugin: 'com.google.gms.google-services'
.
To fix I just had to add the implementations I was using.
answered Sep 20 '18 at 13:09
Karl TaylorKarl Taylor
1,45511432
1,45511432
add a comment |
add a comment |
repositories
maven
url "https://maven.google.com"
jcenter()
Try this one , place maven url on top inside repositories in build.gradle
it is already present, I updated my question
– Giorgio
May 29 '18 at 8:33
@Giorgio I faced same issue, after placing maven url "maven.google.com" on top (Before jcenter() ) that worked for me....i am talking about sequences
– Ravi Kishan Nag
May 29 '18 at 8:54
I tried it and it didn't solve the issue, I updated the question with the solution
– Giorgio
May 29 '18 at 9:54
add a comment |
repositories
maven
url "https://maven.google.com"
jcenter()
Try this one , place maven url on top inside repositories in build.gradle
it is already present, I updated my question
– Giorgio
May 29 '18 at 8:33
@Giorgio I faced same issue, after placing maven url "maven.google.com" on top (Before jcenter() ) that worked for me....i am talking about sequences
– Ravi Kishan Nag
May 29 '18 at 8:54
I tried it and it didn't solve the issue, I updated the question with the solution
– Giorgio
May 29 '18 at 9:54
add a comment |
repositories
maven
url "https://maven.google.com"
jcenter()
Try this one , place maven url on top inside repositories in build.gradle
repositories
maven
url "https://maven.google.com"
jcenter()
Try this one , place maven url on top inside repositories in build.gradle
answered May 29 '18 at 6:21
Ravi Kishan NagRavi Kishan Nag
194
194
it is already present, I updated my question
– Giorgio
May 29 '18 at 8:33
@Giorgio I faced same issue, after placing maven url "maven.google.com" on top (Before jcenter() ) that worked for me....i am talking about sequences
– Ravi Kishan Nag
May 29 '18 at 8:54
I tried it and it didn't solve the issue, I updated the question with the solution
– Giorgio
May 29 '18 at 9:54
add a comment |
it is already present, I updated my question
– Giorgio
May 29 '18 at 8:33
@Giorgio I faced same issue, after placing maven url "maven.google.com" on top (Before jcenter() ) that worked for me....i am talking about sequences
– Ravi Kishan Nag
May 29 '18 at 8:54
I tried it and it didn't solve the issue, I updated the question with the solution
– Giorgio
May 29 '18 at 9:54
it is already present, I updated my question
– Giorgio
May 29 '18 at 8:33
it is already present, I updated my question
– Giorgio
May 29 '18 at 8:33
@Giorgio I faced same issue, after placing maven url "maven.google.com" on top (Before jcenter() ) that worked for me....i am talking about sequences
– Ravi Kishan Nag
May 29 '18 at 8:54
@Giorgio I faced same issue, after placing maven url "maven.google.com" on top (Before jcenter() ) that worked for me....i am talking about sequences
– Ravi Kishan Nag
May 29 '18 at 8:54
I tried it and it didn't solve the issue, I updated the question with the solution
– Giorgio
May 29 '18 at 9:54
I tried it and it didn't solve the issue, I updated the question with the solution
– Giorgio
May 29 '18 at 9:54
add a comment |
Update build.gradle
buildscript
...
dependencies
classpath 'com.android.tools.build:gradle:3.1.2' //< update version
classpath 'com.google.gms:google-services:3.1.1' //< update version
This would help you I guess
check my question, they are already updated to the last version
– Giorgio
May 29 '18 at 8:29
add a comment |
Update build.gradle
buildscript
...
dependencies
classpath 'com.android.tools.build:gradle:3.1.2' //< update version
classpath 'com.google.gms:google-services:3.1.1' //< update version
This would help you I guess
check my question, they are already updated to the last version
– Giorgio
May 29 '18 at 8:29
add a comment |
Update build.gradle
buildscript
...
dependencies
classpath 'com.android.tools.build:gradle:3.1.2' //< update version
classpath 'com.google.gms:google-services:3.1.1' //< update version
This would help you I guess
Update build.gradle
buildscript
...
dependencies
classpath 'com.android.tools.build:gradle:3.1.2' //< update version
classpath 'com.google.gms:google-services:3.1.1' //< update version
This would help you I guess
answered May 29 '18 at 6:27
EhteshamEhtesham
255
255
check my question, they are already updated to the last version
– Giorgio
May 29 '18 at 8:29
add a comment |
check my question, they are already updated to the last version
– Giorgio
May 29 '18 at 8:29
check my question, they are already updated to the last version
– Giorgio
May 29 '18 at 8:29
check my question, they are already updated to the last version
– Giorgio
May 29 '18 at 8:29
add a comment |
Update the build.gradle file from the project root folder. I've tried this and it was helping.
buildscript
repositories
jcenter()
maven
url 'https://maven.google.com/'
name 'Google'
google()
dependencies
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
allprojects
repositories
google()
----
add a comment |
Update the build.gradle file from the project root folder. I've tried this and it was helping.
buildscript
repositories
jcenter()
maven
url 'https://maven.google.com/'
name 'Google'
google()
dependencies
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
allprojects
repositories
google()
----
add a comment |
Update the build.gradle file from the project root folder. I've tried this and it was helping.
buildscript
repositories
jcenter()
maven
url 'https://maven.google.com/'
name 'Google'
google()
dependencies
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
allprojects
repositories
google()
----
Update the build.gradle file from the project root folder. I've tried this and it was helping.
buildscript
repositories
jcenter()
maven
url 'https://maven.google.com/'
name 'Google'
google()
dependencies
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
allprojects
repositories
google()
----
answered May 29 '18 at 10:04
lallal
8581015
8581015
add a comment |
add a comment |
Make sure you added following line in bottom of app gradle
apply plugin: 'com.google.gms.google-services'
Make sure you are using compatible google-services in project level gradle
dependencies
classpath 'com.google.gms:google-services:4.0.1'
Check if you have added following dependency
implementation 'com.google.firebase:firebase-core:16.0.1'
add a comment |
Make sure you added following line in bottom of app gradle
apply plugin: 'com.google.gms.google-services'
Make sure you are using compatible google-services in project level gradle
dependencies
classpath 'com.google.gms:google-services:4.0.1'
Check if you have added following dependency
implementation 'com.google.firebase:firebase-core:16.0.1'
add a comment |
Make sure you added following line in bottom of app gradle
apply plugin: 'com.google.gms.google-services'
Make sure you are using compatible google-services in project level gradle
dependencies
classpath 'com.google.gms:google-services:4.0.1'
Check if you have added following dependency
implementation 'com.google.firebase:firebase-core:16.0.1'
Make sure you added following line in bottom of app gradle
apply plugin: 'com.google.gms.google-services'
Make sure you are using compatible google-services in project level gradle
dependencies
classpath 'com.google.gms:google-services:4.0.1'
Check if you have added following dependency
implementation 'com.google.firebase:firebase-core:16.0.1'
answered Jul 14 '18 at 7:15
snjsnj
1009
1009
add a comment |
add a comment |
I have answered a similar issue here. You need to keep versions of play services and firebase to latest one. Check here for links
https://stackoverflow.com/a/52696667/3333878
add a comment |
I have answered a similar issue here. You need to keep versions of play services and firebase to latest one. Check here for links
https://stackoverflow.com/a/52696667/3333878
add a comment |
I have answered a similar issue here. You need to keep versions of play services and firebase to latest one. Check here for links
https://stackoverflow.com/a/52696667/3333878
I have answered a similar issue here. You need to keep versions of play services and firebase to latest one. Check here for links
https://stackoverflow.com/a/52696667/3333878
answered Oct 9 '18 at 7:12
abitcodeabitcode
495516
495516
add a comment |
add a comment |
This worked for me.this shoud be on top if you use firebase libraries:
implementation "com.google.firebase:firebase-core:15.0.0"
add a comment |
This worked for me.this shoud be on top if you use firebase libraries:
implementation "com.google.firebase:firebase-core:15.0.0"
add a comment |
This worked for me.this shoud be on top if you use firebase libraries:
implementation "com.google.firebase:firebase-core:15.0.0"
This worked for me.this shoud be on top if you use firebase libraries:
implementation "com.google.firebase:firebase-core:15.0.0"
answered Jan 20 at 17:12
fmagfmag
114
114
add a comment |
add a comment |
For future users: Open build.gradle files and just hover your mouse on the dependencies and a tooltip gonna show up telling your the newest version and that should solve your problem.
Beware that Firebase Documentations does not have the newest versions.
add a comment |
For future users: Open build.gradle files and just hover your mouse on the dependencies and a tooltip gonna show up telling your the newest version and that should solve your problem.
Beware that Firebase Documentations does not have the newest versions.
add a comment |
For future users: Open build.gradle files and just hover your mouse on the dependencies and a tooltip gonna show up telling your the newest version and that should solve your problem.
Beware that Firebase Documentations does not have the newest versions.
For future users: Open build.gradle files and just hover your mouse on the dependencies and a tooltip gonna show up telling your the newest version and that should solve your problem.
Beware that Firebase Documentations does not have the newest versions.
answered Mar 3 at 9:44
MohammadLMohammadL
918918
918918
add a comment |
add a comment |
Try to set
classpath 'com.google.gms:google-services:3.2.1'
instead of
classpath 'com.google.gms:google-services:3.3.0'
It's helped in my case, but I don't know the cause of the error.
add a comment |
Try to set
classpath 'com.google.gms:google-services:3.2.1'
instead of
classpath 'com.google.gms:google-services:3.3.0'
It's helped in my case, but I don't know the cause of the error.
add a comment |
Try to set
classpath 'com.google.gms:google-services:3.2.1'
instead of
classpath 'com.google.gms:google-services:3.3.0'
It's helped in my case, but I don't know the cause of the error.
Try to set
classpath 'com.google.gms:google-services:3.2.1'
instead of
classpath 'com.google.gms:google-services:3.3.0'
It's helped in my case, but I don't know the cause of the error.
answered Jun 26 '18 at 7:45
Vishrut MavaniVishrut Mavani
750418
750418
add a comment |
add a comment |
Try to set
classpath 'com.google.gms:google-services:3.2.1'
instead of
classpath 'com.google.gms:google-services:4.0.1'
It's helped in my case, but I don't know the cause of the error.
downgrading is not a good solution
– Shayan_Aryan
Mar 7 at 12:25
add a comment |
Try to set
classpath 'com.google.gms:google-services:3.2.1'
instead of
classpath 'com.google.gms:google-services:4.0.1'
It's helped in my case, but I don't know the cause of the error.
downgrading is not a good solution
– Shayan_Aryan
Mar 7 at 12:25
add a comment |
Try to set
classpath 'com.google.gms:google-services:3.2.1'
instead of
classpath 'com.google.gms:google-services:4.0.1'
It's helped in my case, but I don't know the cause of the error.
Try to set
classpath 'com.google.gms:google-services:3.2.1'
instead of
classpath 'com.google.gms:google-services:4.0.1'
It's helped in my case, but I don't know the cause of the error.
answered Dec 17 '18 at 13:03
Sujeet KumarSujeet Kumar
502614
502614
downgrading is not a good solution
– Shayan_Aryan
Mar 7 at 12:25
add a comment |
downgrading is not a good solution
– Shayan_Aryan
Mar 7 at 12:25
downgrading is not a good solution
– Shayan_Aryan
Mar 7 at 12:25
downgrading is not a good solution
– Shayan_Aryan
Mar 7 at 12:25
add a comment |
Check Answer by Bhupendra Acharya from
https://groups.google.com/forum/#!topic/firebase-talk/XbGR-YrsTTA works for you. I got the following error
The library com.google.android.gms:play-services-basement is being requested by various other libraries at [[15.0.1,15.0.1]], but resolves to 16.0.1. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.
While using
implementation 'com.google.firebase:firebase-core:16.0.1'
And resolved by updating the version
implementation 'com.google.firebase:firebase-core:16.0.4'
add a comment |
Check Answer by Bhupendra Acharya from
https://groups.google.com/forum/#!topic/firebase-talk/XbGR-YrsTTA works for you. I got the following error
The library com.google.android.gms:play-services-basement is being requested by various other libraries at [[15.0.1,15.0.1]], but resolves to 16.0.1. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.
While using
implementation 'com.google.firebase:firebase-core:16.0.1'
And resolved by updating the version
implementation 'com.google.firebase:firebase-core:16.0.4'
add a comment |
Check Answer by Bhupendra Acharya from
https://groups.google.com/forum/#!topic/firebase-talk/XbGR-YrsTTA works for you. I got the following error
The library com.google.android.gms:play-services-basement is being requested by various other libraries at [[15.0.1,15.0.1]], but resolves to 16.0.1. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.
While using
implementation 'com.google.firebase:firebase-core:16.0.1'
And resolved by updating the version
implementation 'com.google.firebase:firebase-core:16.0.4'
Check Answer by Bhupendra Acharya from
https://groups.google.com/forum/#!topic/firebase-talk/XbGR-YrsTTA works for you. I got the following error
The library com.google.android.gms:play-services-basement is being requested by various other libraries at [[15.0.1,15.0.1]], but resolves to 16.0.1. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.
While using
implementation 'com.google.firebase:firebase-core:16.0.1'
And resolved by updating the version
implementation 'com.google.firebase:firebase-core:16.0.4'
answered Feb 20 at 13:44
Ganesh KannaGanesh Kanna
1,5121325
1,5121325
add a comment |
add a comment |
update classpath for com.google.firebase:firebase-core:16+
classpath 'com.google.gms:google-services:4.2.0'
add a comment |
update classpath for com.google.firebase:firebase-core:16+
classpath 'com.google.gms:google-services:4.2.0'
add a comment |
update classpath for com.google.firebase:firebase-core:16+
classpath 'com.google.gms:google-services:4.2.0'
update classpath for com.google.firebase:firebase-core:16+
classpath 'com.google.gms:google-services:4.2.0'
answered Mar 8 at 13:40
kaushalkaushal
15911
15911
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.
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%2f50569501%2fgradle-sync-fails-play-services-measurement-base%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
update to the latest version
– Kopi Bryant
May 28 '18 at 15:31
@KopiBryant what do you mean? Everything is already updated
– Giorgio
May 28 '18 at 16:05
Be sure that the offline work in the gradle setting is unchecked.
– Amir Hossein
May 28 '18 at 17:11