buildToolsVersion 28.0.3 - Error retrieving parent for item: No resource found that matches the given name
My build.gradle is
compileSdkVersion 27
buildToolsVersion '28.0.3'
defaultConfig:
minSdkVersion 23
targetSdkVersion 27
dependencies:
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support:design:27.1.1'
implementation 'com.android.support:recyclerview-v7:27.1.1'
implementation 'com.android.support:support-v4:27.1.1'
Got this error
AGPBI: "kind":"error","text":"Error retrieving parent for item: No resource found that matches the given name u0027TextAppearance.Compat.Notification.Titleu0027.","sources":["file":"/Users/ericji/.gradle/caches/transforms-1/files-1.1/support-media-compat-27.1.1.aar/3ace11096114d261fddf79eb9c08154c/res/values-v24/values-v24.xml","position":"startLine":5,"startColumn":4,"startOffset":248,"endColumn":66,"endOffset":310],"original":"","tool":"AAPT"
:app:processDebugResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> Failed to process resources, see aapt output above for details.
Android studio is upgraded to 3.2.1, so I have to use 28.0.3.
Does anyone get this issue? How to fix it? much appreciated!
android android-studio
add a comment |
My build.gradle is
compileSdkVersion 27
buildToolsVersion '28.0.3'
defaultConfig:
minSdkVersion 23
targetSdkVersion 27
dependencies:
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support:design:27.1.1'
implementation 'com.android.support:recyclerview-v7:27.1.1'
implementation 'com.android.support:support-v4:27.1.1'
Got this error
AGPBI: "kind":"error","text":"Error retrieving parent for item: No resource found that matches the given name u0027TextAppearance.Compat.Notification.Titleu0027.","sources":["file":"/Users/ericji/.gradle/caches/transforms-1/files-1.1/support-media-compat-27.1.1.aar/3ace11096114d261fddf79eb9c08154c/res/values-v24/values-v24.xml","position":"startLine":5,"startColumn":4,"startOffset":248,"endColumn":66,"endOffset":310],"original":"","tool":"AAPT"
:app:processDebugResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> Failed to process resources, see aapt output above for details.
Android studio is upgraded to 3.2.1, so I have to use 28.0.3.
Does anyone get this issue? How to fix it? much appreciated!
android android-studio
Have you tried bumping the compileSdkVersion and support library major versions to 28? You can leave the targetSdk set to 27 to avoid having to update anything else in your app for now.
– stkent
Nov 13 '18 at 22:12
Thanks. Tried and got the same error :(
– Eric
Nov 13 '18 at 23:21
add a comment |
My build.gradle is
compileSdkVersion 27
buildToolsVersion '28.0.3'
defaultConfig:
minSdkVersion 23
targetSdkVersion 27
dependencies:
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support:design:27.1.1'
implementation 'com.android.support:recyclerview-v7:27.1.1'
implementation 'com.android.support:support-v4:27.1.1'
Got this error
AGPBI: "kind":"error","text":"Error retrieving parent for item: No resource found that matches the given name u0027TextAppearance.Compat.Notification.Titleu0027.","sources":["file":"/Users/ericji/.gradle/caches/transforms-1/files-1.1/support-media-compat-27.1.1.aar/3ace11096114d261fddf79eb9c08154c/res/values-v24/values-v24.xml","position":"startLine":5,"startColumn":4,"startOffset":248,"endColumn":66,"endOffset":310],"original":"","tool":"AAPT"
:app:processDebugResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> Failed to process resources, see aapt output above for details.
Android studio is upgraded to 3.2.1, so I have to use 28.0.3.
Does anyone get this issue? How to fix it? much appreciated!
android android-studio
My build.gradle is
compileSdkVersion 27
buildToolsVersion '28.0.3'
defaultConfig:
minSdkVersion 23
targetSdkVersion 27
dependencies:
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support:design:27.1.1'
implementation 'com.android.support:recyclerview-v7:27.1.1'
implementation 'com.android.support:support-v4:27.1.1'
Got this error
AGPBI: "kind":"error","text":"Error retrieving parent for item: No resource found that matches the given name u0027TextAppearance.Compat.Notification.Titleu0027.","sources":["file":"/Users/ericji/.gradle/caches/transforms-1/files-1.1/support-media-compat-27.1.1.aar/3ace11096114d261fddf79eb9c08154c/res/values-v24/values-v24.xml","position":"startLine":5,"startColumn":4,"startOffset":248,"endColumn":66,"endOffset":310],"original":"","tool":"AAPT"
:app:processDebugResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> Failed to process resources, see aapt output above for details.
Android studio is upgraded to 3.2.1, so I have to use 28.0.3.
Does anyone get this issue? How to fix it? much appreciated!
android android-studio
android android-studio
asked Nov 13 '18 at 21:50
EricEric
5918
5918
Have you tried bumping the compileSdkVersion and support library major versions to 28? You can leave the targetSdk set to 27 to avoid having to update anything else in your app for now.
– stkent
Nov 13 '18 at 22:12
Thanks. Tried and got the same error :(
– Eric
Nov 13 '18 at 23:21
add a comment |
Have you tried bumping the compileSdkVersion and support library major versions to 28? You can leave the targetSdk set to 27 to avoid having to update anything else in your app for now.
– stkent
Nov 13 '18 at 22:12
Thanks. Tried and got the same error :(
– Eric
Nov 13 '18 at 23:21
Have you tried bumping the compileSdkVersion and support library major versions to 28? You can leave the targetSdk set to 27 to avoid having to update anything else in your app for now.
– stkent
Nov 13 '18 at 22:12
Have you tried bumping the compileSdkVersion and support library major versions to 28? You can leave the targetSdk set to 27 to avoid having to update anything else in your app for now.
– stkent
Nov 13 '18 at 22:12
Thanks. Tried and got the same error :(
– Eric
Nov 13 '18 at 23:21
Thanks. Tried and got the same error :(
– Eric
Nov 13 '18 at 23:21
add a comment |
1 Answer
1
active
oldest
votes
With Android Gradle Plugin 3.0+, you no longer are required to specify the buildToolsVersion version.
https://developer.android.com/studio/releases/build-tools
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%2f53290043%2fbuildtoolsversion-28-0-3-error-retrieving-parent-for-item-no-resource-found-t%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
With Android Gradle Plugin 3.0+, you no longer are required to specify the buildToolsVersion version.
https://developer.android.com/studio/releases/build-tools
add a comment |
With Android Gradle Plugin 3.0+, you no longer are required to specify the buildToolsVersion version.
https://developer.android.com/studio/releases/build-tools
add a comment |
With Android Gradle Plugin 3.0+, you no longer are required to specify the buildToolsVersion version.
https://developer.android.com/studio/releases/build-tools
With Android Gradle Plugin 3.0+, you no longer are required to specify the buildToolsVersion version.
https://developer.android.com/studio/releases/build-tools
answered Dec 6 '18 at 23:31
jabubakejabubake
713
713
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%2f53290043%2fbuildtoolsversion-28-0-3-error-retrieving-parent-for-item-no-resource-found-t%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
Have you tried bumping the compileSdkVersion and support library major versions to 28? You can leave the targetSdk set to 27 to avoid having to update anything else in your app for now.
– stkent
Nov 13 '18 at 22:12
Thanks. Tried and got the same error :(
– Eric
Nov 13 '18 at 23:21