Android - Could not find com.android.tools.build:aapt2:3.2.1-4818971. Searched in the following locations:
I am having errors with my app, i just updated and got this errors, please help new to android development
java
add a comment |
I am having errors with my app, i just updated and got this errors, please help new to android development
java
did you add google() in your project gradle
– Nagendra Hari Karthick
Nov 16 '18 at 11:53
please resync gradle also disable offline mode
– Basi
Nov 16 '18 at 12:23
Yes i include google() then this error came - > Annotation processors must be explicitly declared now. The following dependencies on the compile classpath are found to contain annotation processor. Please add them to the annotationProcessor configuration. - butterknife-7.0.1.jar (com.jakewharton:butterknife:7.0.1) ...i am using the latest version of android sdk
– jokova
Nov 16 '18 at 12:27
offline mode also if disable and now got this error - "Configuration 'testApi' is obsolete and has been replaced with 'testImplementation'. It will be removed at the end of 2018. For more information see...@Ba
– jokova
Nov 16 '18 at 12:39
add a comment |
I am having errors with my app, i just updated and got this errors, please help new to android development
java
I am having errors with my app, i just updated and got this errors, please help new to android development
java
java
edited Nov 16 '18 at 13:10
misorude
1,8682312
1,8682312
asked Nov 16 '18 at 11:52
jokovajokova
83
83
did you add google() in your project gradle
– Nagendra Hari Karthick
Nov 16 '18 at 11:53
please resync gradle also disable offline mode
– Basi
Nov 16 '18 at 12:23
Yes i include google() then this error came - > Annotation processors must be explicitly declared now. The following dependencies on the compile classpath are found to contain annotation processor. Please add them to the annotationProcessor configuration. - butterknife-7.0.1.jar (com.jakewharton:butterknife:7.0.1) ...i am using the latest version of android sdk
– jokova
Nov 16 '18 at 12:27
offline mode also if disable and now got this error - "Configuration 'testApi' is obsolete and has been replaced with 'testImplementation'. It will be removed at the end of 2018. For more information see...@Ba
– jokova
Nov 16 '18 at 12:39
add a comment |
did you add google() in your project gradle
– Nagendra Hari Karthick
Nov 16 '18 at 11:53
please resync gradle also disable offline mode
– Basi
Nov 16 '18 at 12:23
Yes i include google() then this error came - > Annotation processors must be explicitly declared now. The following dependencies on the compile classpath are found to contain annotation processor. Please add them to the annotationProcessor configuration. - butterknife-7.0.1.jar (com.jakewharton:butterknife:7.0.1) ...i am using the latest version of android sdk
– jokova
Nov 16 '18 at 12:27
offline mode also if disable and now got this error - "Configuration 'testApi' is obsolete and has been replaced with 'testImplementation'. It will be removed at the end of 2018. For more information see...@Ba
– jokova
Nov 16 '18 at 12:39
did you add google() in your project gradle
– Nagendra Hari Karthick
Nov 16 '18 at 11:53
did you add google() in your project gradle
– Nagendra Hari Karthick
Nov 16 '18 at 11:53
please resync gradle also disable offline mode
– Basi
Nov 16 '18 at 12:23
please resync gradle also disable offline mode
– Basi
Nov 16 '18 at 12:23
Yes i include google() then this error came - > Annotation processors must be explicitly declared now. The following dependencies on the compile classpath are found to contain annotation processor. Please add them to the annotationProcessor configuration. - butterknife-7.0.1.jar (com.jakewharton:butterknife:7.0.1) ...i am using the latest version of android sdk
– jokova
Nov 16 '18 at 12:27
Yes i include google() then this error came - > Annotation processors must be explicitly declared now. The following dependencies on the compile classpath are found to contain annotation processor. Please add them to the annotationProcessor configuration. - butterknife-7.0.1.jar (com.jakewharton:butterknife:7.0.1) ...i am using the latest version of android sdk
– jokova
Nov 16 '18 at 12:27
offline mode also if disable and now got this error - "Configuration 'testApi' is obsolete and has been replaced with 'testImplementation'. It will be removed at the end of 2018. For more information see...@Ba
– jokova
Nov 16 '18 at 12:39
offline mode also if disable and now got this error - "Configuration 'testApi' is obsolete and has been replaced with 'testImplementation'. It will be removed at the end of 2018. For more information see...@Ba
– jokova
Nov 16 '18 at 12:39
add a comment |
1 Answer
1
active
oldest
votes
In your project build.gradle file:
buildscript {
repositories {
google() // add this
jcenter()
}
}
allprojects {
repositories {
google() // add this
jcenter()
}
}
I have this error after adding google() - "Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018"
– jokova
Nov 16 '18 at 12:36
just replace 'compile' with 'implementation'
– navylover
Nov 16 '18 at 12:44
You mean inside the build.gradle ? all compile with implementation ?
– jokova
Nov 16 '18 at 13:07
I did change all and it worked but then i got this -> Annotation processors must be explicitly declared now. The following dependencies on the compile classpath are found to contain annotation processor. Please add them to the annotationProcessor configuration. - butterknife-7.0.1.jar (com.jakewharton:butterknife:7.0.1) Alternatively, set android.defaultConfig.javaCompileOptions.annotationProcessorOptions.includeCompileClasspath = true to continue with previous behavior. Note that this option is deprecated and will be removed in the future.
– jokova
Nov 16 '18 at 13:28
This works for me.
– Eric Wang
Dec 30 '18 at 12:57
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%2f53337353%2fandroid-could-not-find-com-android-tools-buildaapt23-2-1-4818971-searched-i%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
In your project build.gradle file:
buildscript {
repositories {
google() // add this
jcenter()
}
}
allprojects {
repositories {
google() // add this
jcenter()
}
}
I have this error after adding google() - "Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018"
– jokova
Nov 16 '18 at 12:36
just replace 'compile' with 'implementation'
– navylover
Nov 16 '18 at 12:44
You mean inside the build.gradle ? all compile with implementation ?
– jokova
Nov 16 '18 at 13:07
I did change all and it worked but then i got this -> Annotation processors must be explicitly declared now. The following dependencies on the compile classpath are found to contain annotation processor. Please add them to the annotationProcessor configuration. - butterknife-7.0.1.jar (com.jakewharton:butterknife:7.0.1) Alternatively, set android.defaultConfig.javaCompileOptions.annotationProcessorOptions.includeCompileClasspath = true to continue with previous behavior. Note that this option is deprecated and will be removed in the future.
– jokova
Nov 16 '18 at 13:28
This works for me.
– Eric Wang
Dec 30 '18 at 12:57
add a comment |
In your project build.gradle file:
buildscript {
repositories {
google() // add this
jcenter()
}
}
allprojects {
repositories {
google() // add this
jcenter()
}
}
I have this error after adding google() - "Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018"
– jokova
Nov 16 '18 at 12:36
just replace 'compile' with 'implementation'
– navylover
Nov 16 '18 at 12:44
You mean inside the build.gradle ? all compile with implementation ?
– jokova
Nov 16 '18 at 13:07
I did change all and it worked but then i got this -> Annotation processors must be explicitly declared now. The following dependencies on the compile classpath are found to contain annotation processor. Please add them to the annotationProcessor configuration. - butterknife-7.0.1.jar (com.jakewharton:butterknife:7.0.1) Alternatively, set android.defaultConfig.javaCompileOptions.annotationProcessorOptions.includeCompileClasspath = true to continue with previous behavior. Note that this option is deprecated and will be removed in the future.
– jokova
Nov 16 '18 at 13:28
This works for me.
– Eric Wang
Dec 30 '18 at 12:57
add a comment |
In your project build.gradle file:
buildscript {
repositories {
google() // add this
jcenter()
}
}
allprojects {
repositories {
google() // add this
jcenter()
}
}
In your project build.gradle file:
buildscript {
repositories {
google() // add this
jcenter()
}
}
allprojects {
repositories {
google() // add this
jcenter()
}
}
answered Nov 16 '18 at 12:28
navylovernavylover
3,66031221
3,66031221
I have this error after adding google() - "Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018"
– jokova
Nov 16 '18 at 12:36
just replace 'compile' with 'implementation'
– navylover
Nov 16 '18 at 12:44
You mean inside the build.gradle ? all compile with implementation ?
– jokova
Nov 16 '18 at 13:07
I did change all and it worked but then i got this -> Annotation processors must be explicitly declared now. The following dependencies on the compile classpath are found to contain annotation processor. Please add them to the annotationProcessor configuration. - butterknife-7.0.1.jar (com.jakewharton:butterknife:7.0.1) Alternatively, set android.defaultConfig.javaCompileOptions.annotationProcessorOptions.includeCompileClasspath = true to continue with previous behavior. Note that this option is deprecated and will be removed in the future.
– jokova
Nov 16 '18 at 13:28
This works for me.
– Eric Wang
Dec 30 '18 at 12:57
add a comment |
I have this error after adding google() - "Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018"
– jokova
Nov 16 '18 at 12:36
just replace 'compile' with 'implementation'
– navylover
Nov 16 '18 at 12:44
You mean inside the build.gradle ? all compile with implementation ?
– jokova
Nov 16 '18 at 13:07
I did change all and it worked but then i got this -> Annotation processors must be explicitly declared now. The following dependencies on the compile classpath are found to contain annotation processor. Please add them to the annotationProcessor configuration. - butterknife-7.0.1.jar (com.jakewharton:butterknife:7.0.1) Alternatively, set android.defaultConfig.javaCompileOptions.annotationProcessorOptions.includeCompileClasspath = true to continue with previous behavior. Note that this option is deprecated and will be removed in the future.
– jokova
Nov 16 '18 at 13:28
This works for me.
– Eric Wang
Dec 30 '18 at 12:57
I have this error after adding google() - "Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018"
– jokova
Nov 16 '18 at 12:36
I have this error after adding google() - "Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018"
– jokova
Nov 16 '18 at 12:36
just replace 'compile' with 'implementation'
– navylover
Nov 16 '18 at 12:44
just replace 'compile' with 'implementation'
– navylover
Nov 16 '18 at 12:44
You mean inside the build.gradle ? all compile with implementation ?
– jokova
Nov 16 '18 at 13:07
You mean inside the build.gradle ? all compile with implementation ?
– jokova
Nov 16 '18 at 13:07
I did change all and it worked but then i got this -> Annotation processors must be explicitly declared now. The following dependencies on the compile classpath are found to contain annotation processor. Please add them to the annotationProcessor configuration. - butterknife-7.0.1.jar (com.jakewharton:butterknife:7.0.1) Alternatively, set android.defaultConfig.javaCompileOptions.annotationProcessorOptions.includeCompileClasspath = true to continue with previous behavior. Note that this option is deprecated and will be removed in the future.
– jokova
Nov 16 '18 at 13:28
I did change all and it worked but then i got this -> Annotation processors must be explicitly declared now. The following dependencies on the compile classpath are found to contain annotation processor. Please add them to the annotationProcessor configuration. - butterknife-7.0.1.jar (com.jakewharton:butterknife:7.0.1) Alternatively, set android.defaultConfig.javaCompileOptions.annotationProcessorOptions.includeCompileClasspath = true to continue with previous behavior. Note that this option is deprecated and will be removed in the future.
– jokova
Nov 16 '18 at 13:28
This works for me.
– Eric Wang
Dec 30 '18 at 12:57
This works for me.
– Eric Wang
Dec 30 '18 at 12:57
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%2f53337353%2fandroid-could-not-find-com-android-tools-buildaapt23-2-1-4818971-searched-i%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
did you add google() in your project gradle
– Nagendra Hari Karthick
Nov 16 '18 at 11:53
please resync gradle also disable offline mode
– Basi
Nov 16 '18 at 12:23
Yes i include google() then this error came - > Annotation processors must be explicitly declared now. The following dependencies on the compile classpath are found to contain annotation processor. Please add them to the annotationProcessor configuration. - butterknife-7.0.1.jar (com.jakewharton:butterknife:7.0.1) ...i am using the latest version of android sdk
– jokova
Nov 16 '18 at 12:27
offline mode also if disable and now got this error - "Configuration 'testApi' is obsolete and has been replaced with 'testImplementation'. It will be removed at the end of 2018. For more information see...@Ba
– jokova
Nov 16 '18 at 12:39