Failed to resolve: play-services-auth-base-license version 11.8.0
I tried to integrate google smart login and SMS SmsRetrieverClient in my project. First thing that shocked me is, on the official documentation of these functionalities(https://developers.google.com/identity/sms-retriever/request#prerequisites), the required libraries are missing. Some how i tried to find out the required ones on net that are :
implementation 'com.google.android.gms:play-services-base:11.8.0'
implementation 'com.google.android.gms:play-services-identity:11.8.0'
implementation 'com.google.android.gms:play-services-auth:11.8.0'
implementation 'com.google.android.gms:play-services-auth-api-phone:11.8.0'
but as i sync the gradle one error is coming. i.e.
Failed to resolve: play-services-auth-base-license Open File
I have made a lot of search on google but do not got any solution.
The sample of google on git hub is: https://github.com/googlesamples/android-credentials/tree/master/sms-verification/android


add a comment |
I tried to integrate google smart login and SMS SmsRetrieverClient in my project. First thing that shocked me is, on the official documentation of these functionalities(https://developers.google.com/identity/sms-retriever/request#prerequisites), the required libraries are missing. Some how i tried to find out the required ones on net that are :
implementation 'com.google.android.gms:play-services-base:11.8.0'
implementation 'com.google.android.gms:play-services-identity:11.8.0'
implementation 'com.google.android.gms:play-services-auth:11.8.0'
implementation 'com.google.android.gms:play-services-auth-api-phone:11.8.0'
but as i sync the gradle one error is coming. i.e.
Failed to resolve: play-services-auth-base-license Open File
I have made a lot of search on google but do not got any solution.
The sample of google on git hub is: https://github.com/googlesamples/android-credentials/tree/master/sms-verification/android


@Manohan Soni try to update your dependencies and make sure you use the latest google-services. if this doesnt help please add your grandle files to help
– Paraskevas Ntsounos
Jun 8 '18 at 10:47
@Paraskevas Ntsounos : Actually i am working on our product. So i need to use only 11.8.0. Because all the previous libraries are working with that only. So i can not take risk . I have also used 11.6.0 but with this version the issue is not coming. But i need to fix the issue with version 11.8.0
– Manmohan Soni
Jun 8 '18 at 10:52
check this android-developers.googleblog.com/2018/05/… and also try my answer if you update all libraries everything will work, at least you could try and check if everything works fine.
– Paraskevas Ntsounos
Jun 8 '18 at 11:08
1
Yeh, already integrated in that way... i just found the issue.. it was due to the sequence of jcenter() library. Previously the sequence was jcenter() maven { url "maven.google.com" } maven { url 'maven.singular.net' } and now i change the sequence and bring the jcenter() down in the last. Some of the libraries are removed from there.... any ways it has been solved. google rocks ---- removed some of the libs from there
– Manmohan Soni
Jun 8 '18 at 11:26
add a comment |
I tried to integrate google smart login and SMS SmsRetrieverClient in my project. First thing that shocked me is, on the official documentation of these functionalities(https://developers.google.com/identity/sms-retriever/request#prerequisites), the required libraries are missing. Some how i tried to find out the required ones on net that are :
implementation 'com.google.android.gms:play-services-base:11.8.0'
implementation 'com.google.android.gms:play-services-identity:11.8.0'
implementation 'com.google.android.gms:play-services-auth:11.8.0'
implementation 'com.google.android.gms:play-services-auth-api-phone:11.8.0'
but as i sync the gradle one error is coming. i.e.
Failed to resolve: play-services-auth-base-license Open File
I have made a lot of search on google but do not got any solution.
The sample of google on git hub is: https://github.com/googlesamples/android-credentials/tree/master/sms-verification/android


I tried to integrate google smart login and SMS SmsRetrieverClient in my project. First thing that shocked me is, on the official documentation of these functionalities(https://developers.google.com/identity/sms-retriever/request#prerequisites), the required libraries are missing. Some how i tried to find out the required ones on net that are :
implementation 'com.google.android.gms:play-services-base:11.8.0'
implementation 'com.google.android.gms:play-services-identity:11.8.0'
implementation 'com.google.android.gms:play-services-auth:11.8.0'
implementation 'com.google.android.gms:play-services-auth-api-phone:11.8.0'
but as i sync the gradle one error is coming. i.e.
Failed to resolve: play-services-auth-base-license Open File
I have made a lot of search on google but do not got any solution.
The sample of google on git hub is: https://github.com/googlesamples/android-credentials/tree/master/sms-verification/android




edited Jun 8 '18 at 13:02


Paraskevas Ntsounos
1,2732826
1,2732826
asked Jun 8 '18 at 10:40
Manmohan SoniManmohan Soni
4,34911824
4,34911824
@Manohan Soni try to update your dependencies and make sure you use the latest google-services. if this doesnt help please add your grandle files to help
– Paraskevas Ntsounos
Jun 8 '18 at 10:47
@Paraskevas Ntsounos : Actually i am working on our product. So i need to use only 11.8.0. Because all the previous libraries are working with that only. So i can not take risk . I have also used 11.6.0 but with this version the issue is not coming. But i need to fix the issue with version 11.8.0
– Manmohan Soni
Jun 8 '18 at 10:52
check this android-developers.googleblog.com/2018/05/… and also try my answer if you update all libraries everything will work, at least you could try and check if everything works fine.
– Paraskevas Ntsounos
Jun 8 '18 at 11:08
1
Yeh, already integrated in that way... i just found the issue.. it was due to the sequence of jcenter() library. Previously the sequence was jcenter() maven { url "maven.google.com" } maven { url 'maven.singular.net' } and now i change the sequence and bring the jcenter() down in the last. Some of the libraries are removed from there.... any ways it has been solved. google rocks ---- removed some of the libs from there
– Manmohan Soni
Jun 8 '18 at 11:26
add a comment |
@Manohan Soni try to update your dependencies and make sure you use the latest google-services. if this doesnt help please add your grandle files to help
– Paraskevas Ntsounos
Jun 8 '18 at 10:47
@Paraskevas Ntsounos : Actually i am working on our product. So i need to use only 11.8.0. Because all the previous libraries are working with that only. So i can not take risk . I have also used 11.6.0 but with this version the issue is not coming. But i need to fix the issue with version 11.8.0
– Manmohan Soni
Jun 8 '18 at 10:52
check this android-developers.googleblog.com/2018/05/… and also try my answer if you update all libraries everything will work, at least you could try and check if everything works fine.
– Paraskevas Ntsounos
Jun 8 '18 at 11:08
1
Yeh, already integrated in that way... i just found the issue.. it was due to the sequence of jcenter() library. Previously the sequence was jcenter() maven { url "maven.google.com" } maven { url 'maven.singular.net' } and now i change the sequence and bring the jcenter() down in the last. Some of the libraries are removed from there.... any ways it has been solved. google rocks ---- removed some of the libs from there
– Manmohan Soni
Jun 8 '18 at 11:26
@Manohan Soni try to update your dependencies and make sure you use the latest google-services. if this doesnt help please add your grandle files to help
– Paraskevas Ntsounos
Jun 8 '18 at 10:47
@Manohan Soni try to update your dependencies and make sure you use the latest google-services. if this doesnt help please add your grandle files to help
– Paraskevas Ntsounos
Jun 8 '18 at 10:47
@Paraskevas Ntsounos : Actually i am working on our product. So i need to use only 11.8.0. Because all the previous libraries are working with that only. So i can not take risk . I have also used 11.6.0 but with this version the issue is not coming. But i need to fix the issue with version 11.8.0
– Manmohan Soni
Jun 8 '18 at 10:52
@Paraskevas Ntsounos : Actually i am working on our product. So i need to use only 11.8.0. Because all the previous libraries are working with that only. So i can not take risk . I have also used 11.6.0 but with this version the issue is not coming. But i need to fix the issue with version 11.8.0
– Manmohan Soni
Jun 8 '18 at 10:52
check this android-developers.googleblog.com/2018/05/… and also try my answer if you update all libraries everything will work, at least you could try and check if everything works fine.
– Paraskevas Ntsounos
Jun 8 '18 at 11:08
check this android-developers.googleblog.com/2018/05/… and also try my answer if you update all libraries everything will work, at least you could try and check if everything works fine.
– Paraskevas Ntsounos
Jun 8 '18 at 11:08
1
1
Yeh, already integrated in that way... i just found the issue.. it was due to the sequence of jcenter() library. Previously the sequence was jcenter() maven { url "maven.google.com" } maven { url 'maven.singular.net' } and now i change the sequence and bring the jcenter() down in the last. Some of the libraries are removed from there.... any ways it has been solved. google rocks ---- removed some of the libs from there
– Manmohan Soni
Jun 8 '18 at 11:26
Yeh, already integrated in that way... i just found the issue.. it was due to the sequence of jcenter() library. Previously the sequence was jcenter() maven { url "maven.google.com" } maven { url 'maven.singular.net' } and now i change the sequence and bring the jcenter() down in the last. Some of the libraries are removed from there.... any ways it has been solved. google rocks ---- removed some of the libs from there
– Manmohan Soni
Jun 8 '18 at 11:26
add a comment |
4 Answers
4
active
oldest
votes
i just found the issue.. it was due to the sequence of jcenter() library. Previously the sequence was
jcenter()
maven { url "maven.google.com"; }
maven { url'maven.singular.net/'; }
and now i change the sequence and bring the jcenter() down in the last. Some of the libraries are removed from there.... any ways it has been solved. google rocks ---- removed some of the libs from there –
So the current sequence is :
maven { url "https://maven.google.com" }
maven { url 'http://maven.singular.net/' }
jcenter()
please next time indicate which file should be edited . for anyone with this problem make the modification in the build.gradle in the android folder.
– ghkatende
Jun 13 '18 at 10:16
add a comment |
Try to update your dependencies based on this link like below:
implementation 'com.google.android.gms:play-services-base:15.0.1'
implementation 'com.google.android.gms:play-services-identity:15.0.1'
implementation 'com.google.android.gms:play-services-auth:15.0.1'
implementation 'com.google.android.gms:play-services-auth-api-phone:15.0.1'
And make sure that you are using the lateste update of google-services like:
classpath 'com.google.gms:google-services:4.0.1'
Firebase Android SDKs and Google Play Services libraries now have independent version numbers, allowing for more frequent, flexible updates.
Update the google play service gradle plugin version to latest version (at least 3.3.1).
and update the libraries to the latest version.
add a comment |
in your build.gradle file where you make use of
compile 'com.facebook.android:account-kit-sdk:4+'
compile 'com.facebook.android:facebook-android-sdk:4+'
replace with
implementation 'com.facebook.android:account-kit-sdk:4.23.0'
implementation 'com.facebook.android:facebook-android-sdk:4.23.0'
add a comment |
If you already have
maven { url "https://maven.google.com" }
just make sure to move it up before jcenter()
it will look like this
allprojects {
repositories {
maven {
url "https://maven.google.com"
}
jcenter()
}
on build.gradle(Project:android)
Oh and I am using ionic3
.
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%2f50758822%2ffailed-to-resolve-play-services-auth-base-license-version-11-8-0%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
i just found the issue.. it was due to the sequence of jcenter() library. Previously the sequence was
jcenter()
maven { url "maven.google.com"; }
maven { url'maven.singular.net/'; }
and now i change the sequence and bring the jcenter() down in the last. Some of the libraries are removed from there.... any ways it has been solved. google rocks ---- removed some of the libs from there –
So the current sequence is :
maven { url "https://maven.google.com" }
maven { url 'http://maven.singular.net/' }
jcenter()
please next time indicate which file should be edited . for anyone with this problem make the modification in the build.gradle in the android folder.
– ghkatende
Jun 13 '18 at 10:16
add a comment |
i just found the issue.. it was due to the sequence of jcenter() library. Previously the sequence was
jcenter()
maven { url "maven.google.com"; }
maven { url'maven.singular.net/'; }
and now i change the sequence and bring the jcenter() down in the last. Some of the libraries are removed from there.... any ways it has been solved. google rocks ---- removed some of the libs from there –
So the current sequence is :
maven { url "https://maven.google.com" }
maven { url 'http://maven.singular.net/' }
jcenter()
please next time indicate which file should be edited . for anyone with this problem make the modification in the build.gradle in the android folder.
– ghkatende
Jun 13 '18 at 10:16
add a comment |
i just found the issue.. it was due to the sequence of jcenter() library. Previously the sequence was
jcenter()
maven { url "maven.google.com"; }
maven { url'maven.singular.net/'; }
and now i change the sequence and bring the jcenter() down in the last. Some of the libraries are removed from there.... any ways it has been solved. google rocks ---- removed some of the libs from there –
So the current sequence is :
maven { url "https://maven.google.com" }
maven { url 'http://maven.singular.net/' }
jcenter()
i just found the issue.. it was due to the sequence of jcenter() library. Previously the sequence was
jcenter()
maven { url "maven.google.com"; }
maven { url'maven.singular.net/'; }
and now i change the sequence and bring the jcenter() down in the last. Some of the libraries are removed from there.... any ways it has been solved. google rocks ---- removed some of the libs from there –
So the current sequence is :
maven { url "https://maven.google.com" }
maven { url 'http://maven.singular.net/' }
jcenter()
answered Jun 8 '18 at 11:33
Manmohan SoniManmohan Soni
4,34911824
4,34911824
please next time indicate which file should be edited . for anyone with this problem make the modification in the build.gradle in the android folder.
– ghkatende
Jun 13 '18 at 10:16
add a comment |
please next time indicate which file should be edited . for anyone with this problem make the modification in the build.gradle in the android folder.
– ghkatende
Jun 13 '18 at 10:16
please next time indicate which file should be edited . for anyone with this problem make the modification in the build.gradle in the android folder.
– ghkatende
Jun 13 '18 at 10:16
please next time indicate which file should be edited . for anyone with this problem make the modification in the build.gradle in the android folder.
– ghkatende
Jun 13 '18 at 10:16
add a comment |
Try to update your dependencies based on this link like below:
implementation 'com.google.android.gms:play-services-base:15.0.1'
implementation 'com.google.android.gms:play-services-identity:15.0.1'
implementation 'com.google.android.gms:play-services-auth:15.0.1'
implementation 'com.google.android.gms:play-services-auth-api-phone:15.0.1'
And make sure that you are using the lateste update of google-services like:
classpath 'com.google.gms:google-services:4.0.1'
Firebase Android SDKs and Google Play Services libraries now have independent version numbers, allowing for more frequent, flexible updates.
Update the google play service gradle plugin version to latest version (at least 3.3.1).
and update the libraries to the latest version.
add a comment |
Try to update your dependencies based on this link like below:
implementation 'com.google.android.gms:play-services-base:15.0.1'
implementation 'com.google.android.gms:play-services-identity:15.0.1'
implementation 'com.google.android.gms:play-services-auth:15.0.1'
implementation 'com.google.android.gms:play-services-auth-api-phone:15.0.1'
And make sure that you are using the lateste update of google-services like:
classpath 'com.google.gms:google-services:4.0.1'
Firebase Android SDKs and Google Play Services libraries now have independent version numbers, allowing for more frequent, flexible updates.
Update the google play service gradle plugin version to latest version (at least 3.3.1).
and update the libraries to the latest version.
add a comment |
Try to update your dependencies based on this link like below:
implementation 'com.google.android.gms:play-services-base:15.0.1'
implementation 'com.google.android.gms:play-services-identity:15.0.1'
implementation 'com.google.android.gms:play-services-auth:15.0.1'
implementation 'com.google.android.gms:play-services-auth-api-phone:15.0.1'
And make sure that you are using the lateste update of google-services like:
classpath 'com.google.gms:google-services:4.0.1'
Firebase Android SDKs and Google Play Services libraries now have independent version numbers, allowing for more frequent, flexible updates.
Update the google play service gradle plugin version to latest version (at least 3.3.1).
and update the libraries to the latest version.
Try to update your dependencies based on this link like below:
implementation 'com.google.android.gms:play-services-base:15.0.1'
implementation 'com.google.android.gms:play-services-identity:15.0.1'
implementation 'com.google.android.gms:play-services-auth:15.0.1'
implementation 'com.google.android.gms:play-services-auth-api-phone:15.0.1'
And make sure that you are using the lateste update of google-services like:
classpath 'com.google.gms:google-services:4.0.1'
Firebase Android SDKs and Google Play Services libraries now have independent version numbers, allowing for more frequent, flexible updates.
Update the google play service gradle plugin version to latest version (at least 3.3.1).
and update the libraries to the latest version.
edited Jun 8 '18 at 11:03
answered Jun 8 '18 at 10:46


Paraskevas NtsounosParaskevas Ntsounos
1,2732826
1,2732826
add a comment |
add a comment |
in your build.gradle file where you make use of
compile 'com.facebook.android:account-kit-sdk:4+'
compile 'com.facebook.android:facebook-android-sdk:4+'
replace with
implementation 'com.facebook.android:account-kit-sdk:4.23.0'
implementation 'com.facebook.android:facebook-android-sdk:4.23.0'
add a comment |
in your build.gradle file where you make use of
compile 'com.facebook.android:account-kit-sdk:4+'
compile 'com.facebook.android:facebook-android-sdk:4+'
replace with
implementation 'com.facebook.android:account-kit-sdk:4.23.0'
implementation 'com.facebook.android:facebook-android-sdk:4.23.0'
add a comment |
in your build.gradle file where you make use of
compile 'com.facebook.android:account-kit-sdk:4+'
compile 'com.facebook.android:facebook-android-sdk:4+'
replace with
implementation 'com.facebook.android:account-kit-sdk:4.23.0'
implementation 'com.facebook.android:facebook-android-sdk:4.23.0'
in your build.gradle file where you make use of
compile 'com.facebook.android:account-kit-sdk:4+'
compile 'com.facebook.android:facebook-android-sdk:4+'
replace with
implementation 'com.facebook.android:account-kit-sdk:4.23.0'
implementation 'com.facebook.android:facebook-android-sdk:4.23.0'
answered Nov 21 '18 at 21:32


Alabi TemitopeAlabi Temitope
8416
8416
add a comment |
add a comment |
If you already have
maven { url "https://maven.google.com" }
just make sure to move it up before jcenter()
it will look like this
allprojects {
repositories {
maven {
url "https://maven.google.com"
}
jcenter()
}
on build.gradle(Project:android)
Oh and I am using ionic3
.
add a comment |
If you already have
maven { url "https://maven.google.com" }
just make sure to move it up before jcenter()
it will look like this
allprojects {
repositories {
maven {
url "https://maven.google.com"
}
jcenter()
}
on build.gradle(Project:android)
Oh and I am using ionic3
.
add a comment |
If you already have
maven { url "https://maven.google.com" }
just make sure to move it up before jcenter()
it will look like this
allprojects {
repositories {
maven {
url "https://maven.google.com"
}
jcenter()
}
on build.gradle(Project:android)
Oh and I am using ionic3
.
If you already have
maven { url "https://maven.google.com" }
just make sure to move it up before jcenter()
it will look like this
allprojects {
repositories {
maven {
url "https://maven.google.com"
}
jcenter()
}
on build.gradle(Project:android)
Oh and I am using ionic3
.
edited Dec 4 '18 at 13:43


Agilanbu
1
1
answered Dec 4 '18 at 12:22
Usman KazmiUsman Kazmi
91
91
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%2f50758822%2ffailed-to-resolve-play-services-auth-base-license-version-11-8-0%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
@Manohan Soni try to update your dependencies and make sure you use the latest google-services. if this doesnt help please add your grandle files to help
– Paraskevas Ntsounos
Jun 8 '18 at 10:47
@Paraskevas Ntsounos : Actually i am working on our product. So i need to use only 11.8.0. Because all the previous libraries are working with that only. So i can not take risk . I have also used 11.6.0 but with this version the issue is not coming. But i need to fix the issue with version 11.8.0
– Manmohan Soni
Jun 8 '18 at 10:52
check this android-developers.googleblog.com/2018/05/… and also try my answer if you update all libraries everything will work, at least you could try and check if everything works fine.
– Paraskevas Ntsounos
Jun 8 '18 at 11:08
1
Yeh, already integrated in that way... i just found the issue.. it was due to the sequence of jcenter() library. Previously the sequence was jcenter() maven { url "maven.google.com" } maven { url 'maven.singular.net' } and now i change the sequence and bring the jcenter() down in the last. Some of the libraries are removed from there.... any ways it has been solved. google rocks ---- removed some of the libs from there
– Manmohan Soni
Jun 8 '18 at 11:26