Getting error:The library com.google.android.gms:play-services-basement is being requested by various other libraries at [[11.0.4,11.0.4]]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 11.8.0Check your dependencies tree usingThe library com.google.android.gms:play-services-basement is being requestedGradle sync fails - com.google.android.gms:play-services-basement is being requested by various other librariesError in building gradle - com.google.android.gms:play-services-basement is being requested by various other librariesThe 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.1Gradle sync fails: com.google.android.gms:play-services-basement and com.google.firebase:firebase-commonFirebaseUI import: The library com.google.android.gms:play-services-basement is being requested by various other librariesThe 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.1.0library 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.1.0

What word means "to make something obsolete"?

When do aircrafts become solarcrafts?

LT Spice Voltage Output

Is Cola "probably the best-known" Latin word in the world? If not, which might it be?

Geometry - Proving a common centroid.

Selecting a secure PIN for building access

How long can a 35mm film be used/stored before it starts to lose its quality after expiry?

What happened to Rhaegal?

Why is Thanos so tough at the beginning of "Avengers: Endgame"?

How to assert on pagereference where the endpoint of pagereference is predefined

Stark VS Thanos

Visualizing a complicated Region

Floor tile layout process?

Why is Arya visibly scared in the library in S8E3?

Pigeonhole Principle Problem

How did Arya manage to disguise herself?

Short story about people living in a different time streams

Who died in the Game of Thrones episode, "The Long Night"?

Can commander tax be proliferated?

How do you center multiple equations that have multiple steps?

CRT Oscilloscope - part of the plot is missing

Why do computer-science majors learn calculus?

What is the word which sounds like "shtrass"?

I lost my Irish passport. Can I travel to Thailand and back from the UK using my US passport?



Getting error:The library com.google.android.gms:play-services-basement is being requested by various other libraries at [[11.0.4,11.0.4]]


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 11.8.0Check your dependencies tree usingThe library com.google.android.gms:play-services-basement is being requestedGradle sync fails - com.google.android.gms:play-services-basement is being requested by various other librariesError in building gradle - com.google.android.gms:play-services-basement is being requested by various other librariesThe 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.1Gradle sync fails: com.google.android.gms:play-services-basement and com.google.firebase:firebase-commonFirebaseUI import: The library com.google.android.gms:play-services-basement is being requested by various other librariesThe 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.1.0library 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.1.0






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















All of my code is working perfect when I have these dependencies




//noinspection GradleCompatible
implementation 'com.google.android.gms:play-services-places:11.0.4'
implementation 'com.google.android.gms:play-services-location:11.0.4'
implementation 'com.google.android.gms:play-services-maps:11.0.4'
implementation 'com.google.maps.android:android-maps-utils:0.5+'
implementation 'com.google.firebase:firebase-auth:11.0.4'
implementation 'com.google.firebase:firebase-core:11.0.4'
implementation 'com.google.firebase:firebase-messaging:11.0.4'
implementation 'com.google.firebase:firebase-storage:11.0.4'
implementation 'com.google.firebase:firebase-database:11.0.4' }


but when I add



 implementation 'com.google.android.gms:play-services-ads-identifier:15.0.1'


It shows me error that :-



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



I have already tried updating my gms library but when I do that I will need to make several changes to the code to meet the new release requirements. I am looking for a quick solution of solving it .



The current versions I am using are mentioned below :-



classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.google.gms:google-services:4.0.2'









share|improve this question






















  • Check whether the google() is appear before jcenter() in the list of repositories in project' gradle file.

    – Atheesh Rathnaweera
    Mar 22 at 20:24











  • yes thats the arrangement repositories google() jcenter() mavenCentral()

    – Shawn Abrahaam
    Mar 22 at 20:26


















0















All of my code is working perfect when I have these dependencies




//noinspection GradleCompatible
implementation 'com.google.android.gms:play-services-places:11.0.4'
implementation 'com.google.android.gms:play-services-location:11.0.4'
implementation 'com.google.android.gms:play-services-maps:11.0.4'
implementation 'com.google.maps.android:android-maps-utils:0.5+'
implementation 'com.google.firebase:firebase-auth:11.0.4'
implementation 'com.google.firebase:firebase-core:11.0.4'
implementation 'com.google.firebase:firebase-messaging:11.0.4'
implementation 'com.google.firebase:firebase-storage:11.0.4'
implementation 'com.google.firebase:firebase-database:11.0.4' }


but when I add



 implementation 'com.google.android.gms:play-services-ads-identifier:15.0.1'


It shows me error that :-



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



I have already tried updating my gms library but when I do that I will need to make several changes to the code to meet the new release requirements. I am looking for a quick solution of solving it .



The current versions I am using are mentioned below :-



classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.google.gms:google-services:4.0.2'









share|improve this question






















  • Check whether the google() is appear before jcenter() in the list of repositories in project' gradle file.

    – Atheesh Rathnaweera
    Mar 22 at 20:24











  • yes thats the arrangement repositories google() jcenter() mavenCentral()

    – Shawn Abrahaam
    Mar 22 at 20:26














0












0








0








All of my code is working perfect when I have these dependencies




//noinspection GradleCompatible
implementation 'com.google.android.gms:play-services-places:11.0.4'
implementation 'com.google.android.gms:play-services-location:11.0.4'
implementation 'com.google.android.gms:play-services-maps:11.0.4'
implementation 'com.google.maps.android:android-maps-utils:0.5+'
implementation 'com.google.firebase:firebase-auth:11.0.4'
implementation 'com.google.firebase:firebase-core:11.0.4'
implementation 'com.google.firebase:firebase-messaging:11.0.4'
implementation 'com.google.firebase:firebase-storage:11.0.4'
implementation 'com.google.firebase:firebase-database:11.0.4' }


but when I add



 implementation 'com.google.android.gms:play-services-ads-identifier:15.0.1'


It shows me error that :-



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



I have already tried updating my gms library but when I do that I will need to make several changes to the code to meet the new release requirements. I am looking for a quick solution of solving it .



The current versions I am using are mentioned below :-



classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.google.gms:google-services:4.0.2'









share|improve this question














All of my code is working perfect when I have these dependencies




//noinspection GradleCompatible
implementation 'com.google.android.gms:play-services-places:11.0.4'
implementation 'com.google.android.gms:play-services-location:11.0.4'
implementation 'com.google.android.gms:play-services-maps:11.0.4'
implementation 'com.google.maps.android:android-maps-utils:0.5+'
implementation 'com.google.firebase:firebase-auth:11.0.4'
implementation 'com.google.firebase:firebase-core:11.0.4'
implementation 'com.google.firebase:firebase-messaging:11.0.4'
implementation 'com.google.firebase:firebase-storage:11.0.4'
implementation 'com.google.firebase:firebase-database:11.0.4' }


but when I add



 implementation 'com.google.android.gms:play-services-ads-identifier:15.0.1'


It shows me error that :-



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



I have already tried updating my gms library but when I do that I will need to make several changes to the code to meet the new release requirements. I am looking for a quick solution of solving it .



The current versions I am using are mentioned below :-



classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.google.gms:google-services:4.0.2'






java android






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 22 at 20:07









Shawn AbrahaamShawn Abrahaam

64




64












  • Check whether the google() is appear before jcenter() in the list of repositories in project' gradle file.

    – Atheesh Rathnaweera
    Mar 22 at 20:24











  • yes thats the arrangement repositories google() jcenter() mavenCentral()

    – Shawn Abrahaam
    Mar 22 at 20:26


















  • Check whether the google() is appear before jcenter() in the list of repositories in project' gradle file.

    – Atheesh Rathnaweera
    Mar 22 at 20:24











  • yes thats the arrangement repositories google() jcenter() mavenCentral()

    – Shawn Abrahaam
    Mar 22 at 20:26

















Check whether the google() is appear before jcenter() in the list of repositories in project' gradle file.

– Atheesh Rathnaweera
Mar 22 at 20:24





Check whether the google() is appear before jcenter() in the list of repositories in project' gradle file.

– Atheesh Rathnaweera
Mar 22 at 20:24













yes thats the arrangement repositories google() jcenter() mavenCentral()

– Shawn Abrahaam
Mar 22 at 20:26






yes thats the arrangement repositories google() jcenter() mavenCentral()

– Shawn Abrahaam
Mar 22 at 20:26













1 Answer
1






active

oldest

votes


















0














Use following



 implementation 'com.google.android.gms:play-services-places:16.0.0'
implementation 'com.google.android.gms:play-services-location:16.0.0'
implementation 'com.google.android.gms:play-services-maps:16.1.0'
implementation 'com.google.maps.android:android-maps-utils:0.5+'
implementation 'com.google.firebase:firebase-auth:16.2.0'
implementation 'com.google.firebase:firebase-core:16.0.8'
implementation 'com.google.firebase:firebase-messaging:17.5.0'
implementation 'com.google.firebase:firebase-storage:16.1.0'
implementation 'com.google.firebase:firebase-database:16.1.0'


instead of this



implementation 'com.google.android.gms:play-services-places:11.0.4'
implementation 'com.google.android.gms:play-services-location:11.0.4'
implementation 'com.google.android.gms:play-services-maps:11.0.4'
implementation 'com.google.maps.android:android-maps-utils:0.5+'
implementation 'com.google.firebase:firebase-auth:11.0.4'
implementation 'com.google.firebase:firebase-core:11.0.4'
implementation 'com.google.firebase:firebase-messaging:11.0.4'
implementation 'com.google.firebase:firebase-storage:11.0.4'
implementation 'com.google.firebase:firebase-database:11.0.4'





share|improve this answer

























  • what I have already mentioned in my question if I use these it will ask me to make changes to the code as some new methods are implemented in new releases and old one are excluded. I am looking for simple solution.

    – Shawn Abrahaam
    Mar 22 at 20:46











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
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55307104%2fgetting-errorthe-library-com-google-android-gmsplay-services-basement-is-being%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









0














Use following



 implementation 'com.google.android.gms:play-services-places:16.0.0'
implementation 'com.google.android.gms:play-services-location:16.0.0'
implementation 'com.google.android.gms:play-services-maps:16.1.0'
implementation 'com.google.maps.android:android-maps-utils:0.5+'
implementation 'com.google.firebase:firebase-auth:16.2.0'
implementation 'com.google.firebase:firebase-core:16.0.8'
implementation 'com.google.firebase:firebase-messaging:17.5.0'
implementation 'com.google.firebase:firebase-storage:16.1.0'
implementation 'com.google.firebase:firebase-database:16.1.0'


instead of this



implementation 'com.google.android.gms:play-services-places:11.0.4'
implementation 'com.google.android.gms:play-services-location:11.0.4'
implementation 'com.google.android.gms:play-services-maps:11.0.4'
implementation 'com.google.maps.android:android-maps-utils:0.5+'
implementation 'com.google.firebase:firebase-auth:11.0.4'
implementation 'com.google.firebase:firebase-core:11.0.4'
implementation 'com.google.firebase:firebase-messaging:11.0.4'
implementation 'com.google.firebase:firebase-storage:11.0.4'
implementation 'com.google.firebase:firebase-database:11.0.4'





share|improve this answer

























  • what I have already mentioned in my question if I use these it will ask me to make changes to the code as some new methods are implemented in new releases and old one are excluded. I am looking for simple solution.

    – Shawn Abrahaam
    Mar 22 at 20:46















0














Use following



 implementation 'com.google.android.gms:play-services-places:16.0.0'
implementation 'com.google.android.gms:play-services-location:16.0.0'
implementation 'com.google.android.gms:play-services-maps:16.1.0'
implementation 'com.google.maps.android:android-maps-utils:0.5+'
implementation 'com.google.firebase:firebase-auth:16.2.0'
implementation 'com.google.firebase:firebase-core:16.0.8'
implementation 'com.google.firebase:firebase-messaging:17.5.0'
implementation 'com.google.firebase:firebase-storage:16.1.0'
implementation 'com.google.firebase:firebase-database:16.1.0'


instead of this



implementation 'com.google.android.gms:play-services-places:11.0.4'
implementation 'com.google.android.gms:play-services-location:11.0.4'
implementation 'com.google.android.gms:play-services-maps:11.0.4'
implementation 'com.google.maps.android:android-maps-utils:0.5+'
implementation 'com.google.firebase:firebase-auth:11.0.4'
implementation 'com.google.firebase:firebase-core:11.0.4'
implementation 'com.google.firebase:firebase-messaging:11.0.4'
implementation 'com.google.firebase:firebase-storage:11.0.4'
implementation 'com.google.firebase:firebase-database:11.0.4'





share|improve this answer

























  • what I have already mentioned in my question if I use these it will ask me to make changes to the code as some new methods are implemented in new releases and old one are excluded. I am looking for simple solution.

    – Shawn Abrahaam
    Mar 22 at 20:46













0












0








0







Use following



 implementation 'com.google.android.gms:play-services-places:16.0.0'
implementation 'com.google.android.gms:play-services-location:16.0.0'
implementation 'com.google.android.gms:play-services-maps:16.1.0'
implementation 'com.google.maps.android:android-maps-utils:0.5+'
implementation 'com.google.firebase:firebase-auth:16.2.0'
implementation 'com.google.firebase:firebase-core:16.0.8'
implementation 'com.google.firebase:firebase-messaging:17.5.0'
implementation 'com.google.firebase:firebase-storage:16.1.0'
implementation 'com.google.firebase:firebase-database:16.1.0'


instead of this



implementation 'com.google.android.gms:play-services-places:11.0.4'
implementation 'com.google.android.gms:play-services-location:11.0.4'
implementation 'com.google.android.gms:play-services-maps:11.0.4'
implementation 'com.google.maps.android:android-maps-utils:0.5+'
implementation 'com.google.firebase:firebase-auth:11.0.4'
implementation 'com.google.firebase:firebase-core:11.0.4'
implementation 'com.google.firebase:firebase-messaging:11.0.4'
implementation 'com.google.firebase:firebase-storage:11.0.4'
implementation 'com.google.firebase:firebase-database:11.0.4'





share|improve this answer















Use following



 implementation 'com.google.android.gms:play-services-places:16.0.0'
implementation 'com.google.android.gms:play-services-location:16.0.0'
implementation 'com.google.android.gms:play-services-maps:16.1.0'
implementation 'com.google.maps.android:android-maps-utils:0.5+'
implementation 'com.google.firebase:firebase-auth:16.2.0'
implementation 'com.google.firebase:firebase-core:16.0.8'
implementation 'com.google.firebase:firebase-messaging:17.5.0'
implementation 'com.google.firebase:firebase-storage:16.1.0'
implementation 'com.google.firebase:firebase-database:16.1.0'


instead of this



implementation 'com.google.android.gms:play-services-places:11.0.4'
implementation 'com.google.android.gms:play-services-location:11.0.4'
implementation 'com.google.android.gms:play-services-maps:11.0.4'
implementation 'com.google.maps.android:android-maps-utils:0.5+'
implementation 'com.google.firebase:firebase-auth:11.0.4'
implementation 'com.google.firebase:firebase-core:11.0.4'
implementation 'com.google.firebase:firebase-messaging:11.0.4'
implementation 'com.google.firebase:firebase-storage:11.0.4'
implementation 'com.google.firebase:firebase-database:11.0.4'






share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 22 at 20:43

























answered Mar 22 at 20:38









Atheesh RathnaweeraAtheesh Rathnaweera

107110




107110












  • what I have already mentioned in my question if I use these it will ask me to make changes to the code as some new methods are implemented in new releases and old one are excluded. I am looking for simple solution.

    – Shawn Abrahaam
    Mar 22 at 20:46

















  • what I have already mentioned in my question if I use these it will ask me to make changes to the code as some new methods are implemented in new releases and old one are excluded. I am looking for simple solution.

    – Shawn Abrahaam
    Mar 22 at 20:46
















what I have already mentioned in my question if I use these it will ask me to make changes to the code as some new methods are implemented in new releases and old one are excluded. I am looking for simple solution.

– Shawn Abrahaam
Mar 22 at 20:46





what I have already mentioned in my question if I use these it will ask me to make changes to the code as some new methods are implemented in new releases and old one are excluded. I am looking for simple solution.

– Shawn Abrahaam
Mar 22 at 20:46



















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.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55307104%2fgetting-errorthe-library-com-google-android-gmsplay-services-basement-is-being%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

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript