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;
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
add a comment |
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
Check whether thegoogle()
is appear beforejcenter()
in the list of repositories in project' gradle file.
– Atheesh Rathnaweera
Mar 22 at 20:24
yes thats the arrangementrepositories google() jcenter() mavenCentral()
– Shawn Abrahaam
Mar 22 at 20:26
add a comment |
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
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
java android
asked Mar 22 at 20:07
Shawn AbrahaamShawn Abrahaam
64
64
Check whether thegoogle()
is appear beforejcenter()
in the list of repositories in project' gradle file.
– Atheesh Rathnaweera
Mar 22 at 20:24
yes thats the arrangementrepositories google() jcenter() mavenCentral()
– Shawn Abrahaam
Mar 22 at 20:26
add a comment |
Check whether thegoogle()
is appear beforejcenter()
in the list of repositories in project' gradle file.
– Atheesh Rathnaweera
Mar 22 at 20:24
yes thats the arrangementrepositories 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
add a comment |
1 Answer
1
active
oldest
votes
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'
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
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%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
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'
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
add a comment |
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'
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
add a comment |
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'
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'
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
add a comment |
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
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%2f55307104%2fgetting-errorthe-library-com-google-android-gmsplay-services-basement-is-being%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
Check whether the
google()
is appear beforejcenter()
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