Failed to resolve: play-services-base-license
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
buildscript {
repositories {
google()
maven {
url "https://maven.google.com"
}
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
I am using the above gradle to build the project. But when I try to build the project I am getting the following error.
Error : Failed to resolve: play-services-base-license
I tried changing the order of repositries like below :
buildscript {
repositories {
jcenter()
google()
maven {
url "https://maven.google.com"
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
When I do this I am getting following error.
Error: Could not find intellij-core.jar (com.android.tools.external.com-intellij:intellij-core:26.0.1).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/external/com-intellij/intellij-core/26.0.1/intellij-core-26.0.1.jar
Is there any way I can solve this problem?
Thanks in advance
add a comment |
buildscript {
repositories {
google()
maven {
url "https://maven.google.com"
}
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
I am using the above gradle to build the project. But when I try to build the project I am getting the following error.
Error : Failed to resolve: play-services-base-license
I tried changing the order of repositries like below :
buildscript {
repositories {
jcenter()
google()
maven {
url "https://maven.google.com"
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
When I do this I am getting following error.
Error: Could not find intellij-core.jar (com.android.tools.external.com-intellij:intellij-core:26.0.1).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/external/com-intellij/intellij-core/26.0.1/intellij-core-26.0.1.jar
Is there any way I can solve this problem?
Thanks in advance
Try thisrepositories { google() jcenter() maven { url "https://maven.google.com" } }
– Nilesh Rathod
Nov 16 '18 at 11:56
Even with that change I am getting :Failed to resolve: play-services-base-license
– Skadna Naglapur Ramamurthy
Nov 16 '18 at 11:57
stackoverflow.com/questions/50940565/…
– Nilesh Rathod
Nov 16 '18 at 11:57
I already saw that post and tried. It did not work for me
– Skadna Naglapur Ramamurthy
Nov 16 '18 at 11:59
add a comment |
buildscript {
repositories {
google()
maven {
url "https://maven.google.com"
}
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
I am using the above gradle to build the project. But when I try to build the project I am getting the following error.
Error : Failed to resolve: play-services-base-license
I tried changing the order of repositries like below :
buildscript {
repositories {
jcenter()
google()
maven {
url "https://maven.google.com"
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
When I do this I am getting following error.
Error: Could not find intellij-core.jar (com.android.tools.external.com-intellij:intellij-core:26.0.1).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/external/com-intellij/intellij-core/26.0.1/intellij-core-26.0.1.jar
Is there any way I can solve this problem?
Thanks in advance
buildscript {
repositories {
google()
maven {
url "https://maven.google.com"
}
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
I am using the above gradle to build the project. But when I try to build the project I am getting the following error.
Error : Failed to resolve: play-services-base-license
I tried changing the order of repositries like below :
buildscript {
repositories {
jcenter()
google()
maven {
url "https://maven.google.com"
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
When I do this I am getting following error.
Error: Could not find intellij-core.jar (com.android.tools.external.com-intellij:intellij-core:26.0.1).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/external/com-intellij/intellij-core/26.0.1/intellij-core-26.0.1.jar
Is there any way I can solve this problem?
Thanks in advance
edited Nov 16 '18 at 13:48
Aniruddh Parihar
2,21911129
2,21911129
asked Nov 16 '18 at 11:54
Skadna Naglapur RamamurthySkadna Naglapur Ramamurthy
316
316
Try thisrepositories { google() jcenter() maven { url "https://maven.google.com" } }
– Nilesh Rathod
Nov 16 '18 at 11:56
Even with that change I am getting :Failed to resolve: play-services-base-license
– Skadna Naglapur Ramamurthy
Nov 16 '18 at 11:57
stackoverflow.com/questions/50940565/…
– Nilesh Rathod
Nov 16 '18 at 11:57
I already saw that post and tried. It did not work for me
– Skadna Naglapur Ramamurthy
Nov 16 '18 at 11:59
add a comment |
Try thisrepositories { google() jcenter() maven { url "https://maven.google.com" } }
– Nilesh Rathod
Nov 16 '18 at 11:56
Even with that change I am getting :Failed to resolve: play-services-base-license
– Skadna Naglapur Ramamurthy
Nov 16 '18 at 11:57
stackoverflow.com/questions/50940565/…
– Nilesh Rathod
Nov 16 '18 at 11:57
I already saw that post and tried. It did not work for me
– Skadna Naglapur Ramamurthy
Nov 16 '18 at 11:59
Try this
repositories { google() jcenter() maven { url "https://maven.google.com" } }– Nilesh Rathod
Nov 16 '18 at 11:56
Try this
repositories { google() jcenter() maven { url "https://maven.google.com" } }– Nilesh Rathod
Nov 16 '18 at 11:56
Even with that change I am getting :Failed to resolve: play-services-base-license
– Skadna Naglapur Ramamurthy
Nov 16 '18 at 11:57
Even with that change I am getting :Failed to resolve: play-services-base-license
– Skadna Naglapur Ramamurthy
Nov 16 '18 at 11:57
stackoverflow.com/questions/50940565/…
– Nilesh Rathod
Nov 16 '18 at 11:57
stackoverflow.com/questions/50940565/…
– Nilesh Rathod
Nov 16 '18 at 11:57
I already saw that post and tried. It did not work for me
– Skadna Naglapur Ramamurthy
Nov 16 '18 at 11:59
I already saw that post and tried. It did not work for me
– Skadna Naglapur Ramamurthy
Nov 16 '18 at 11:59
add a comment |
1 Answer
1
active
oldest
votes
Firstly in project build.gradle file, add:
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.1.0'
}
}
allprojects {
repositories {
google()
maven {
url "https://maven.google.com"
}
jcenter()
}
}
Then in module build.gradle file,add:
implementation 'com.google.android.gms:play-services-base:16.0.1'
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%2f53337386%2ffailed-to-resolve-play-services-base-license%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
Firstly in project build.gradle file, add:
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.1.0'
}
}
allprojects {
repositories {
google()
maven {
url "https://maven.google.com"
}
jcenter()
}
}
Then in module build.gradle file,add:
implementation 'com.google.android.gms:play-services-base:16.0.1'
add a comment |
Firstly in project build.gradle file, add:
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.1.0'
}
}
allprojects {
repositories {
google()
maven {
url "https://maven.google.com"
}
jcenter()
}
}
Then in module build.gradle file,add:
implementation 'com.google.android.gms:play-services-base:16.0.1'
add a comment |
Firstly in project build.gradle file, add:
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.1.0'
}
}
allprojects {
repositories {
google()
maven {
url "https://maven.google.com"
}
jcenter()
}
}
Then in module build.gradle file,add:
implementation 'com.google.android.gms:play-services-base:16.0.1'
Firstly in project build.gradle file, add:
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.1.0'
}
}
allprojects {
repositories {
google()
maven {
url "https://maven.google.com"
}
jcenter()
}
}
Then in module build.gradle file,add:
implementation 'com.google.android.gms:play-services-base:16.0.1'
edited Nov 16 '18 at 12:17
answered Nov 16 '18 at 12:12
navylovernavylover
3,64531221
3,64531221
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%2f53337386%2ffailed-to-resolve-play-services-base-license%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
Try this
repositories { google() jcenter() maven { url "https://maven.google.com" } }– Nilesh Rathod
Nov 16 '18 at 11:56
Even with that change I am getting :Failed to resolve: play-services-base-license
– Skadna Naglapur Ramamurthy
Nov 16 '18 at 11:57
stackoverflow.com/questions/50940565/…
– Nilesh Rathod
Nov 16 '18 at 11:57
I already saw that post and tried. It did not work for me
– Skadna Naglapur Ramamurthy
Nov 16 '18 at 11:59