Gradle sync fails: com.google.android.gms:play-services-basement and com.google.firebase:firebase-common











up vote
1
down vote

favorite












I am trying to include firebase to my android project as described in the official firebase documenation. The app is very basic and uses Google's vision APIs.



Error that I'm getting:




Gradle sync failed: Failed to notify dependency resolution listener.
The library com.google.android.gms:play-services-basement is being requested by various other libraries at [[11.0.4,11.0.4], [15.0.1,15.0.1]], but resolves to 15.0.1. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.




I've already tried a few solutions from similar questions posted on the site which didn't work for me. More importantly, I'd like to understand the root cause, rather than blindly tinkering with versions.



Below are my gradle files:



Module level



apply plugin: 'com.android.application'
/* ... */
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:2.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation 'com.google.android.gms:play-services:11.0.4'
implementation 'com.google.firebase:firebase-core:16.0.1'
}

apply plugin: 'com.google.gms.google-services'


Project level



// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {

repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.0.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

allprojects {
repositories {
google()
jcenter()
}
}

task clean(type: Delete) {
delete rootProject.buildDir
}


Running ./gradlew app:dependencies gives:




Failed to notify dependency resolution listener.




The library com.google.android.gms:play-services-basement is being requested by various other libraries at [[11.0.4,11.0.4], [15.0.1,15.0.1]], but resolves to 15.0.1. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.



The library com.google.firebase:firebase-common is being requested by various other libraries at [[11.0.4,11.0.4]], but resolves to 16.0.0. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.












share|improve this question


























    up vote
    1
    down vote

    favorite












    I am trying to include firebase to my android project as described in the official firebase documenation. The app is very basic and uses Google's vision APIs.



    Error that I'm getting:




    Gradle sync failed: Failed to notify dependency resolution listener.
    The library com.google.android.gms:play-services-basement is being requested by various other libraries at [[11.0.4,11.0.4], [15.0.1,15.0.1]], but resolves to 15.0.1. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.




    I've already tried a few solutions from similar questions posted on the site which didn't work for me. More importantly, I'd like to understand the root cause, rather than blindly tinkering with versions.



    Below are my gradle files:



    Module level



    apply plugin: 'com.android.application'
    /* ... */
    dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:2.0.2'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
    implementation 'com.google.android.gms:play-services:11.0.4'
    implementation 'com.google.firebase:firebase-core:16.0.1'
    }

    apply plugin: 'com.google.gms.google-services'


    Project level



    // Top-level build file where you can add configuration options common to all sub-projects/modules.

    buildscript {

    repositories {
    google()
    jcenter()
    }
    dependencies {
    classpath 'com.android.tools.build:gradle:3.2.1'
    classpath 'com.google.gms:google-services:4.0.1'

    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
    }
    }

    allprojects {
    repositories {
    google()
    jcenter()
    }
    }

    task clean(type: Delete) {
    delete rootProject.buildDir
    }


    Running ./gradlew app:dependencies gives:




    Failed to notify dependency resolution listener.




    The library com.google.android.gms:play-services-basement is being requested by various other libraries at [[11.0.4,11.0.4], [15.0.1,15.0.1]], but resolves to 15.0.1. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.



    The library com.google.firebase:firebase-common is being requested by various other libraries at [[11.0.4,11.0.4]], but resolves to 16.0.0. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.












    share|improve this question
























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I am trying to include firebase to my android project as described in the official firebase documenation. The app is very basic and uses Google's vision APIs.



      Error that I'm getting:




      Gradle sync failed: Failed to notify dependency resolution listener.
      The library com.google.android.gms:play-services-basement is being requested by various other libraries at [[11.0.4,11.0.4], [15.0.1,15.0.1]], but resolves to 15.0.1. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.




      I've already tried a few solutions from similar questions posted on the site which didn't work for me. More importantly, I'd like to understand the root cause, rather than blindly tinkering with versions.



      Below are my gradle files:



      Module level



      apply plugin: 'com.android.application'
      /* ... */
      dependencies {
      implementation fileTree(include: ['*.jar'], dir: 'libs')
      testImplementation 'junit:junit:4.12'
      androidTestImplementation 'com.android.support.test:runner:2.0.2'
      androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
      implementation 'com.google.android.gms:play-services:11.0.4'
      implementation 'com.google.firebase:firebase-core:16.0.1'
      }

      apply plugin: 'com.google.gms.google-services'


      Project level



      // Top-level build file where you can add configuration options common to all sub-projects/modules.

      buildscript {

      repositories {
      google()
      jcenter()
      }
      dependencies {
      classpath 'com.android.tools.build:gradle:3.2.1'
      classpath 'com.google.gms:google-services:4.0.1'

      // NOTE: Do not place your application dependencies here; they belong
      // in the individual module build.gradle files
      }
      }

      allprojects {
      repositories {
      google()
      jcenter()
      }
      }

      task clean(type: Delete) {
      delete rootProject.buildDir
      }


      Running ./gradlew app:dependencies gives:




      Failed to notify dependency resolution listener.




      The library com.google.android.gms:play-services-basement is being requested by various other libraries at [[11.0.4,11.0.4], [15.0.1,15.0.1]], but resolves to 15.0.1. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.



      The library com.google.firebase:firebase-common is being requested by various other libraries at [[11.0.4,11.0.4]], but resolves to 16.0.0. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.












      share|improve this question













      I am trying to include firebase to my android project as described in the official firebase documenation. The app is very basic and uses Google's vision APIs.



      Error that I'm getting:




      Gradle sync failed: Failed to notify dependency resolution listener.
      The library com.google.android.gms:play-services-basement is being requested by various other libraries at [[11.0.4,11.0.4], [15.0.1,15.0.1]], but resolves to 15.0.1. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.




      I've already tried a few solutions from similar questions posted on the site which didn't work for me. More importantly, I'd like to understand the root cause, rather than blindly tinkering with versions.



      Below are my gradle files:



      Module level



      apply plugin: 'com.android.application'
      /* ... */
      dependencies {
      implementation fileTree(include: ['*.jar'], dir: 'libs')
      testImplementation 'junit:junit:4.12'
      androidTestImplementation 'com.android.support.test:runner:2.0.2'
      androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
      implementation 'com.google.android.gms:play-services:11.0.4'
      implementation 'com.google.firebase:firebase-core:16.0.1'
      }

      apply plugin: 'com.google.gms.google-services'


      Project level



      // Top-level build file where you can add configuration options common to all sub-projects/modules.

      buildscript {

      repositories {
      google()
      jcenter()
      }
      dependencies {
      classpath 'com.android.tools.build:gradle:3.2.1'
      classpath 'com.google.gms:google-services:4.0.1'

      // NOTE: Do not place your application dependencies here; they belong
      // in the individual module build.gradle files
      }
      }

      allprojects {
      repositories {
      google()
      jcenter()
      }
      }

      task clean(type: Delete) {
      delete rootProject.buildDir
      }


      Running ./gradlew app:dependencies gives:




      Failed to notify dependency resolution listener.




      The library com.google.android.gms:play-services-basement is being requested by various other libraries at [[11.0.4,11.0.4], [15.0.1,15.0.1]], but resolves to 15.0.1. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.



      The library com.google.firebase:firebase-common is being requested by various other libraries at [[11.0.4,11.0.4]], but resolves to 16.0.0. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.









      android firebase firebase-realtime-database android-gradle






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 10 at 22:44









      Mukul Gupta

      1,01711230




      1,01711230
























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          3
          down vote



          accepted










          Update the following:



                  classpath 'com.google.gms:google-services:4.0.1'


          to this:



                  classpath 'com.google.gms:google-services:4.1.0'


          Also as stated in the docs:




          Note: Don't use the combined play-services target. It brings in dozens of libraries, bloating your application. Instead, specify only the specific Google Play services APIs your app uses.




          Therefore, remove this:



           implementation 'com.google.android.gms:play-services:11.0.4'


          And add a specific google play service api with an updated version, example implementation 'com.google.android.gms:play-services-auth:16.0.1'



          Also update the firebase-core to version 16.0.4



          Check here for more info:



          https://developers.google.com/android/guides/setup





          When you get this 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.




          It means that a direct dependency (inside the google maven repository) that you are using in gradle, is using the transitive dependency com.google.android.gms:play-services-basement.



          Here in this case firebase-core:16.0.1 uses play-services-basement:15.0.1 and the latest version of play-services-basement is 16.0.1, thus you get this error.



          You can also check this in October 2, 2018 they did the following:




          Minor internal feature updates were made to some core libraries (play-services-auth, play-services-base, play-services-basement, play-services-flags, play-services-stats, play-services-tasks) used by other Google Play services libraries.




          Also they released the com.google.android.gms:play-services-basement:16.0.1 and com.google.firebase:firebase-core:16.0.4



          Also check my answer here:



          Android | Cannot add all Google libraries for version 15.0.1






          share|improve this answer























          • After applying the changes you suggested and using com.google.android.gms:play-services-vision:16.2.0 instead of the play-services target, I now get: 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. Also, could you explain why you suggest downgrading gradle to 3.1.0 and upgrading google-services to 4.1.0?
            – Mukul Gupta
            Nov 10 at 23:15












          • oops nevermind gradle keep it the same, keep gradle the same and sync also what google service api did you use with which version?
            – Peter Haddad
            Nov 10 at 23:35












          • The error's the same. I'm using mobile vision APIs. Previously, I was using the entire target: play-services-11.0.4 as mentioned in the gradle file.
            – Mukul Gupta
            Nov 10 at 23:54










          • update firebase-core to version 16.0.4
            – Peter Haddad
            Nov 11 at 0:06










          • Thanks. Upgrading firebase-core to 16.0.4 worked. Setting classpath to com.google.gms:google-services:4.1.0 was not required. Could you explain or point out some documentation that made you realize that the specific version should be updated? Could you also update the answer with the suggestions in comments that eventually made it to work?
            – Mukul Gupta
            Nov 11 at 10:09











          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',
          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
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53244160%2fgradle-sync-fails-com-google-android-gmsplay-services-basement-and-com-google%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          3
          down vote



          accepted










          Update the following:



                  classpath 'com.google.gms:google-services:4.0.1'


          to this:



                  classpath 'com.google.gms:google-services:4.1.0'


          Also as stated in the docs:




          Note: Don't use the combined play-services target. It brings in dozens of libraries, bloating your application. Instead, specify only the specific Google Play services APIs your app uses.




          Therefore, remove this:



           implementation 'com.google.android.gms:play-services:11.0.4'


          And add a specific google play service api with an updated version, example implementation 'com.google.android.gms:play-services-auth:16.0.1'



          Also update the firebase-core to version 16.0.4



          Check here for more info:



          https://developers.google.com/android/guides/setup





          When you get this 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.




          It means that a direct dependency (inside the google maven repository) that you are using in gradle, is using the transitive dependency com.google.android.gms:play-services-basement.



          Here in this case firebase-core:16.0.1 uses play-services-basement:15.0.1 and the latest version of play-services-basement is 16.0.1, thus you get this error.



          You can also check this in October 2, 2018 they did the following:




          Minor internal feature updates were made to some core libraries (play-services-auth, play-services-base, play-services-basement, play-services-flags, play-services-stats, play-services-tasks) used by other Google Play services libraries.




          Also they released the com.google.android.gms:play-services-basement:16.0.1 and com.google.firebase:firebase-core:16.0.4



          Also check my answer here:



          Android | Cannot add all Google libraries for version 15.0.1






          share|improve this answer























          • After applying the changes you suggested and using com.google.android.gms:play-services-vision:16.2.0 instead of the play-services target, I now get: 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. Also, could you explain why you suggest downgrading gradle to 3.1.0 and upgrading google-services to 4.1.0?
            – Mukul Gupta
            Nov 10 at 23:15












          • oops nevermind gradle keep it the same, keep gradle the same and sync also what google service api did you use with which version?
            – Peter Haddad
            Nov 10 at 23:35












          • The error's the same. I'm using mobile vision APIs. Previously, I was using the entire target: play-services-11.0.4 as mentioned in the gradle file.
            – Mukul Gupta
            Nov 10 at 23:54










          • update firebase-core to version 16.0.4
            – Peter Haddad
            Nov 11 at 0:06










          • Thanks. Upgrading firebase-core to 16.0.4 worked. Setting classpath to com.google.gms:google-services:4.1.0 was not required. Could you explain or point out some documentation that made you realize that the specific version should be updated? Could you also update the answer with the suggestions in comments that eventually made it to work?
            – Mukul Gupta
            Nov 11 at 10:09















          up vote
          3
          down vote



          accepted










          Update the following:



                  classpath 'com.google.gms:google-services:4.0.1'


          to this:



                  classpath 'com.google.gms:google-services:4.1.0'


          Also as stated in the docs:




          Note: Don't use the combined play-services target. It brings in dozens of libraries, bloating your application. Instead, specify only the specific Google Play services APIs your app uses.




          Therefore, remove this:



           implementation 'com.google.android.gms:play-services:11.0.4'


          And add a specific google play service api with an updated version, example implementation 'com.google.android.gms:play-services-auth:16.0.1'



          Also update the firebase-core to version 16.0.4



          Check here for more info:



          https://developers.google.com/android/guides/setup





          When you get this 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.




          It means that a direct dependency (inside the google maven repository) that you are using in gradle, is using the transitive dependency com.google.android.gms:play-services-basement.



          Here in this case firebase-core:16.0.1 uses play-services-basement:15.0.1 and the latest version of play-services-basement is 16.0.1, thus you get this error.



          You can also check this in October 2, 2018 they did the following:




          Minor internal feature updates were made to some core libraries (play-services-auth, play-services-base, play-services-basement, play-services-flags, play-services-stats, play-services-tasks) used by other Google Play services libraries.




          Also they released the com.google.android.gms:play-services-basement:16.0.1 and com.google.firebase:firebase-core:16.0.4



          Also check my answer here:



          Android | Cannot add all Google libraries for version 15.0.1






          share|improve this answer























          • After applying the changes you suggested and using com.google.android.gms:play-services-vision:16.2.0 instead of the play-services target, I now get: 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. Also, could you explain why you suggest downgrading gradle to 3.1.0 and upgrading google-services to 4.1.0?
            – Mukul Gupta
            Nov 10 at 23:15












          • oops nevermind gradle keep it the same, keep gradle the same and sync also what google service api did you use with which version?
            – Peter Haddad
            Nov 10 at 23:35












          • The error's the same. I'm using mobile vision APIs. Previously, I was using the entire target: play-services-11.0.4 as mentioned in the gradle file.
            – Mukul Gupta
            Nov 10 at 23:54










          • update firebase-core to version 16.0.4
            – Peter Haddad
            Nov 11 at 0:06










          • Thanks. Upgrading firebase-core to 16.0.4 worked. Setting classpath to com.google.gms:google-services:4.1.0 was not required. Could you explain or point out some documentation that made you realize that the specific version should be updated? Could you also update the answer with the suggestions in comments that eventually made it to work?
            – Mukul Gupta
            Nov 11 at 10:09













          up vote
          3
          down vote



          accepted







          up vote
          3
          down vote



          accepted






          Update the following:



                  classpath 'com.google.gms:google-services:4.0.1'


          to this:



                  classpath 'com.google.gms:google-services:4.1.0'


          Also as stated in the docs:




          Note: Don't use the combined play-services target. It brings in dozens of libraries, bloating your application. Instead, specify only the specific Google Play services APIs your app uses.




          Therefore, remove this:



           implementation 'com.google.android.gms:play-services:11.0.4'


          And add a specific google play service api with an updated version, example implementation 'com.google.android.gms:play-services-auth:16.0.1'



          Also update the firebase-core to version 16.0.4



          Check here for more info:



          https://developers.google.com/android/guides/setup





          When you get this 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.




          It means that a direct dependency (inside the google maven repository) that you are using in gradle, is using the transitive dependency com.google.android.gms:play-services-basement.



          Here in this case firebase-core:16.0.1 uses play-services-basement:15.0.1 and the latest version of play-services-basement is 16.0.1, thus you get this error.



          You can also check this in October 2, 2018 they did the following:




          Minor internal feature updates were made to some core libraries (play-services-auth, play-services-base, play-services-basement, play-services-flags, play-services-stats, play-services-tasks) used by other Google Play services libraries.




          Also they released the com.google.android.gms:play-services-basement:16.0.1 and com.google.firebase:firebase-core:16.0.4



          Also check my answer here:



          Android | Cannot add all Google libraries for version 15.0.1






          share|improve this answer














          Update the following:



                  classpath 'com.google.gms:google-services:4.0.1'


          to this:



                  classpath 'com.google.gms:google-services:4.1.0'


          Also as stated in the docs:




          Note: Don't use the combined play-services target. It brings in dozens of libraries, bloating your application. Instead, specify only the specific Google Play services APIs your app uses.




          Therefore, remove this:



           implementation 'com.google.android.gms:play-services:11.0.4'


          And add a specific google play service api with an updated version, example implementation 'com.google.android.gms:play-services-auth:16.0.1'



          Also update the firebase-core to version 16.0.4



          Check here for more info:



          https://developers.google.com/android/guides/setup





          When you get this 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.




          It means that a direct dependency (inside the google maven repository) that you are using in gradle, is using the transitive dependency com.google.android.gms:play-services-basement.



          Here in this case firebase-core:16.0.1 uses play-services-basement:15.0.1 and the latest version of play-services-basement is 16.0.1, thus you get this error.



          You can also check this in October 2, 2018 they did the following:




          Minor internal feature updates were made to some core libraries (play-services-auth, play-services-base, play-services-basement, play-services-flags, play-services-stats, play-services-tasks) used by other Google Play services libraries.




          Also they released the com.google.android.gms:play-services-basement:16.0.1 and com.google.firebase:firebase-core:16.0.4



          Also check my answer here:



          Android | Cannot add all Google libraries for version 15.0.1







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 11 at 11:37

























          answered Nov 10 at 22:54









          Peter Haddad

          19.8k83955




          19.8k83955












          • After applying the changes you suggested and using com.google.android.gms:play-services-vision:16.2.0 instead of the play-services target, I now get: 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. Also, could you explain why you suggest downgrading gradle to 3.1.0 and upgrading google-services to 4.1.0?
            – Mukul Gupta
            Nov 10 at 23:15












          • oops nevermind gradle keep it the same, keep gradle the same and sync also what google service api did you use with which version?
            – Peter Haddad
            Nov 10 at 23:35












          • The error's the same. I'm using mobile vision APIs. Previously, I was using the entire target: play-services-11.0.4 as mentioned in the gradle file.
            – Mukul Gupta
            Nov 10 at 23:54










          • update firebase-core to version 16.0.4
            – Peter Haddad
            Nov 11 at 0:06










          • Thanks. Upgrading firebase-core to 16.0.4 worked. Setting classpath to com.google.gms:google-services:4.1.0 was not required. Could you explain or point out some documentation that made you realize that the specific version should be updated? Could you also update the answer with the suggestions in comments that eventually made it to work?
            – Mukul Gupta
            Nov 11 at 10:09


















          • After applying the changes you suggested and using com.google.android.gms:play-services-vision:16.2.0 instead of the play-services target, I now get: 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. Also, could you explain why you suggest downgrading gradle to 3.1.0 and upgrading google-services to 4.1.0?
            – Mukul Gupta
            Nov 10 at 23:15












          • oops nevermind gradle keep it the same, keep gradle the same and sync also what google service api did you use with which version?
            – Peter Haddad
            Nov 10 at 23:35












          • The error's the same. I'm using mobile vision APIs. Previously, I was using the entire target: play-services-11.0.4 as mentioned in the gradle file.
            – Mukul Gupta
            Nov 10 at 23:54










          • update firebase-core to version 16.0.4
            – Peter Haddad
            Nov 11 at 0:06










          • Thanks. Upgrading firebase-core to 16.0.4 worked. Setting classpath to com.google.gms:google-services:4.1.0 was not required. Could you explain or point out some documentation that made you realize that the specific version should be updated? Could you also update the answer with the suggestions in comments that eventually made it to work?
            – Mukul Gupta
            Nov 11 at 10:09
















          After applying the changes you suggested and using com.google.android.gms:play-services-vision:16.2.0 instead of the play-services target, I now get: 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. Also, could you explain why you suggest downgrading gradle to 3.1.0 and upgrading google-services to 4.1.0?
          – Mukul Gupta
          Nov 10 at 23:15






          After applying the changes you suggested and using com.google.android.gms:play-services-vision:16.2.0 instead of the play-services target, I now get: 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. Also, could you explain why you suggest downgrading gradle to 3.1.0 and upgrading google-services to 4.1.0?
          – Mukul Gupta
          Nov 10 at 23:15














          oops nevermind gradle keep it the same, keep gradle the same and sync also what google service api did you use with which version?
          – Peter Haddad
          Nov 10 at 23:35






          oops nevermind gradle keep it the same, keep gradle the same and sync also what google service api did you use with which version?
          – Peter Haddad
          Nov 10 at 23:35














          The error's the same. I'm using mobile vision APIs. Previously, I was using the entire target: play-services-11.0.4 as mentioned in the gradle file.
          – Mukul Gupta
          Nov 10 at 23:54




          The error's the same. I'm using mobile vision APIs. Previously, I was using the entire target: play-services-11.0.4 as mentioned in the gradle file.
          – Mukul Gupta
          Nov 10 at 23:54












          update firebase-core to version 16.0.4
          – Peter Haddad
          Nov 11 at 0:06




          update firebase-core to version 16.0.4
          – Peter Haddad
          Nov 11 at 0:06












          Thanks. Upgrading firebase-core to 16.0.4 worked. Setting classpath to com.google.gms:google-services:4.1.0 was not required. Could you explain or point out some documentation that made you realize that the specific version should be updated? Could you also update the answer with the suggestions in comments that eventually made it to work?
          – Mukul Gupta
          Nov 11 at 10:09




          Thanks. Upgrading firebase-core to 16.0.4 worked. Setting classpath to com.google.gms:google-services:4.1.0 was not required. Could you explain or point out some documentation that made you realize that the specific version should be updated? Could you also update the answer with the suggestions in comments that eventually made it to work?
          – Mukul Gupta
          Nov 11 at 10:09


















          draft saved

          draft discarded




















































          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53244160%2fgradle-sync-fails-com-google-android-gmsplay-services-basement-and-com-google%23new-answer', 'question_page');
          }
          );

          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







          Popular posts from this blog

          鏡平學校

          ꓛꓣだゔៀៅຸ໢ທຮ໕໒ ,ໂ'໥໓າ໼ឨឲ៵៭ៈゎゔit''䖳𥁄卿' ☨₤₨こゎもょの;ꜹꟚꞖꞵꟅꞛေၦေɯ,ɨɡ𛃵𛁹ޝ޳ޠ޾,ޤޒޯ޾𫝒𫠁သ𛅤チョ'サノބޘދ𛁐ᶿᶇᶀᶋᶠ㨑㽹⻮ꧬ꧹؍۩وَؠ㇕㇃㇪ ㇦㇋㇋ṜẰᵡᴠ 軌ᵕ搜۳ٰޗޮ޷ސޯ𫖾𫅀ल, ꙭ꙰ꚅꙁꚊꞻꝔ꟠Ꝭㄤﺟޱސꧨꧼ꧴ꧯꧽ꧲ꧯ'⽹⽭⾁⿞⼳⽋២៩ញណើꩯꩤ꩸ꩮᶻᶺᶧᶂ𫳲𫪭𬸄𫵰𬖩𬫣𬊉ၲ𛅬㕦䬺𫝌𫝼,,𫟖𫞽ហៅ஫㆔ాఆఅꙒꚞꙍ,Ꙟ꙱エ ,ポテ,フࢰࢯ𫟠𫞶 𫝤𫟠ﺕﹱﻜﻣ𪵕𪭸𪻆𪾩𫔷ġ,ŧآꞪ꟥,ꞔꝻ♚☹⛵𛀌ꬷꭞȄƁƪƬșƦǙǗdžƝǯǧⱦⱰꓕꓢႋ神 ဴ၀க௭எ௫ឫោ ' េㇷㇴㇼ神ㇸㇲㇽㇴㇼㇻㇸ'ㇸㇿㇸㇹㇰㆣꓚꓤ₡₧ ㄨㄟ㄂ㄖㄎ໗ツڒذ₶।ऩछएोञयूटक़कयँृी,冬'𛅢𛅥ㇱㇵㇶ𥄥𦒽𠣧𠊓𧢖𥞘𩔋цѰㄠſtʯʭɿʆʗʍʩɷɛ,əʏダヵㄐㄘR{gỚṖḺờṠṫảḙḭᴮᵏᴘᵀᵷᵕᴜᴏᵾq﮲ﲿﴽﭙ軌ﰬﶚﶧ﫲Ҝжюїкӈㇴffצּ﬘﭅﬈軌'ffistfflſtffतभफɳɰʊɲʎ𛁱𛁖𛁮𛀉 𛂯𛀞నఋŀŲ 𫟲𫠖𫞺ຆຆ ໹້໕໗ๆทԊꧢꧠ꧰ꓱ⿝⼑ŎḬẃẖỐẅ ,ờỰỈỗﮊDžȩꭏꭎꬻ꭮ꬿꭖꭥꭅ㇭神 ⾈ꓵꓑ⺄㄄ㄪㄙㄅㄇstA۵䞽ॶ𫞑𫝄㇉㇇゜軌𩜛𩳠Jﻺ‚Üမ႕ႌႊၐၸဓၞၞၡ៸wyvtᶎᶪᶹစဎ꣡꣰꣢꣤ٗ؋لㇳㇾㇻㇱ㆐㆔,,㆟Ⱶヤマފ޼ޝަݿݞݠݷݐ',ݘ,ݪݙݵ𬝉𬜁𫝨𫞘くせぉて¼óû×ó£…𛅑הㄙくԗԀ5606神45,神796'𪤻𫞧ꓐ㄁ㄘɥɺꓵꓲ3''7034׉ⱦⱠˆ“𫝋ȍ,ꩲ軌꩷ꩶꩧꩫఞ۔فڱێظペサ神ナᴦᵑ47 9238їﻂ䐊䔉㠸﬎ffiﬣ,לּᴷᴦᵛᵽ,ᴨᵤ ᵸᵥᴗᵈꚏꚉꚟ⻆rtǟƴ𬎎

          Why https connections are so slow when debugging (stepping over) in Java?