App Bundle build fails because of the sym_keyboard_feedback_delete.png file
I am trying to build my app using the Android app bundle. The apk gets generated fine but the bundle doesn't due to a "reserved file or directory name 'res'". Oddly it singles out this drawable file which exists only in the Android pie (28) SDK folder. I'm not using it anywhere in my module.
sym_keyboard_feedback_delete.png
I'm using the latest gradle version (3.2.1) and compiling against Android Pie (28). Any ideas?
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':packageProductionReleaseBundle'.
> java.util.concurrent.ExecutionException: com.android.tools.build.bundletool.exceptions.BundleFileTypesException$FileUsesReservedNameException:
File 'root/res/drawable-hdpi/sym_keyboard_feedback_delete.png' uses reserved file or directory name 'res'.
android android-studio android-gradle apk
add a comment |
I am trying to build my app using the Android app bundle. The apk gets generated fine but the bundle doesn't due to a "reserved file or directory name 'res'". Oddly it singles out this drawable file which exists only in the Android pie (28) SDK folder. I'm not using it anywhere in my module.
sym_keyboard_feedback_delete.png
I'm using the latest gradle version (3.2.1) and compiling against Android Pie (28). Any ideas?
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':packageProductionReleaseBundle'.
> java.util.concurrent.ExecutionException: com.android.tools.build.bundletool.exceptions.BundleFileTypesException$FileUsesReservedNameException:
File 'root/res/drawable-hdpi/sym_keyboard_feedback_delete.png' uses reserved file or directory name 'res'.
android android-studio android-gradle apk
add a comment |
I am trying to build my app using the Android app bundle. The apk gets generated fine but the bundle doesn't due to a "reserved file or directory name 'res'". Oddly it singles out this drawable file which exists only in the Android pie (28) SDK folder. I'm not using it anywhere in my module.
sym_keyboard_feedback_delete.png
I'm using the latest gradle version (3.2.1) and compiling against Android Pie (28). Any ideas?
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':packageProductionReleaseBundle'.
> java.util.concurrent.ExecutionException: com.android.tools.build.bundletool.exceptions.BundleFileTypesException$FileUsesReservedNameException:
File 'root/res/drawable-hdpi/sym_keyboard_feedback_delete.png' uses reserved file or directory name 'res'.
android android-studio android-gradle apk
I am trying to build my app using the Android app bundle. The apk gets generated fine but the bundle doesn't due to a "reserved file or directory name 'res'". Oddly it singles out this drawable file which exists only in the Android pie (28) SDK folder. I'm not using it anywhere in my module.
sym_keyboard_feedback_delete.png
I'm using the latest gradle version (3.2.1) and compiling against Android Pie (28). Any ideas?
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':packageProductionReleaseBundle'.
> java.util.concurrent.ExecutionException: com.android.tools.build.bundletool.exceptions.BundleFileTypesException$FileUsesReservedNameException:
File 'root/res/drawable-hdpi/sym_keyboard_feedback_delete.png' uses reserved file or directory name 'res'.
android android-studio android-gradle apk
android android-studio android-gradle apk
edited Nov 12 '18 at 15:05
Fantômas
32.4k156388
32.4k156388
asked Nov 12 '18 at 14:05
AncientMethodsAncientMethods
1418
1418
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
I've figured out the problem. One of the libraries I am using had a dependancy on the Google Android Library » 4.1.1.4, which contains resource file sym_keyboard_feedback_delete.png and others that occupy the res directory.
Excluding this module from the library dependancy has solved this issue.
exclude group: 'com.google.android'
add a comment |
It looks like one your dependencies is not compiled as an AAR but instead just as JAR.
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%2f53263832%2fapp-bundle-build-fails-because-of-the-sym-keyboard-feedback-delete-png-file%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
I've figured out the problem. One of the libraries I am using had a dependancy on the Google Android Library » 4.1.1.4, which contains resource file sym_keyboard_feedback_delete.png and others that occupy the res directory.
Excluding this module from the library dependancy has solved this issue.
exclude group: 'com.google.android'
add a comment |
I've figured out the problem. One of the libraries I am using had a dependancy on the Google Android Library » 4.1.1.4, which contains resource file sym_keyboard_feedback_delete.png and others that occupy the res directory.
Excluding this module from the library dependancy has solved this issue.
exclude group: 'com.google.android'
add a comment |
I've figured out the problem. One of the libraries I am using had a dependancy on the Google Android Library » 4.1.1.4, which contains resource file sym_keyboard_feedback_delete.png and others that occupy the res directory.
Excluding this module from the library dependancy has solved this issue.
exclude group: 'com.google.android'
I've figured out the problem. One of the libraries I am using had a dependancy on the Google Android Library » 4.1.1.4, which contains resource file sym_keyboard_feedback_delete.png and others that occupy the res directory.
Excluding this module from the library dependancy has solved this issue.
exclude group: 'com.google.android'
answered Nov 13 '18 at 10:25
AncientMethodsAncientMethods
1418
1418
add a comment |
add a comment |
It looks like one your dependencies is not compiled as an AAR but instead just as JAR.
add a comment |
It looks like one your dependencies is not compiled as an AAR but instead just as JAR.
add a comment |
It looks like one your dependencies is not compiled as an AAR but instead just as JAR.
It looks like one your dependencies is not compiled as an AAR but instead just as JAR.
answered Nov 14 '18 at 0:11
PierrePierre
1,606167
1,606167
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%2f53263832%2fapp-bundle-build-fails-because-of-the-sym-keyboard-feedback-delete-png-file%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