App Bundle build fails because of the sym_keyboard_feedback_delete.png file












0















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'.









share|improve this question





























    0















    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'.









    share|improve this question



























      0












      0








      0








      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'.









      share|improve this question
















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 12 '18 at 15:05









      Fantômas

      32.4k156388




      32.4k156388










      asked Nov 12 '18 at 14:05









      AncientMethodsAncientMethods

      1418




      1418
























          2 Answers
          2






          active

          oldest

          votes


















          0














          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'





          share|improve this answer































            0














            It looks like one your dependencies is not compiled as an AAR but instead just as JAR.






            share|improve this answer























              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
              });


              }
              });














              draft saved

              draft discarded


















              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









              0














              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'





              share|improve this answer




























                0














                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'





                share|improve this answer


























                  0












                  0








                  0







                  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'





                  share|improve this answer













                  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'






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 13 '18 at 10:25









                  AncientMethodsAncientMethods

                  1418




                  1418

























                      0














                      It looks like one your dependencies is not compiled as an AAR but instead just as JAR.






                      share|improve this answer




























                        0














                        It looks like one your dependencies is not compiled as an AAR but instead just as JAR.






                        share|improve this answer


























                          0












                          0








                          0







                          It looks like one your dependencies is not compiled as an AAR but instead just as JAR.






                          share|improve this answer













                          It looks like one your dependencies is not compiled as an AAR but instead just as JAR.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Nov 14 '18 at 0:11









                          PierrePierre

                          1,606167




                          1,606167






























                              draft saved

                              draft discarded




















































                              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.




                              draft saved


                              draft discarded














                              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





















































                              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







                              Popular posts from this blog

                              Full-time equivalent

                              Bicuculline

                              さくらももこ