Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-12292

Icons copied in wrong res path - android

    XMLWordPrintableJSON

Details

    Description

      When building a cordova project, the ./res/ directory gets populated with several mipmap* directories, containing each one icon.png file based on the file specified in config.xml.
      Problem is, the ./res/ directory being populated appears to be the wrong one as the ./platforms/android/res directory doesn't get the mipmap* directories with my icons.
      As a result, the app will be built with the default cordova icons instead of my own ones.

      The issue was tested with the build process launched with the following command:
      cordova build --device --debug --buildConfig=build.json

      The build.json file doesn't have any setting related to android, only ios.

      npm version: 3.10.10
      gradle version: 2.7 (groovy 2.3.10, ant 1.9.3)

      Installed platforms:
      android 6.0.0
      ios 4.2.1 (not tested, probably not affected)

      The build is launched from OS X El Capitan.

      Attachments

        Issue Links

          Activity

            People

              jcesarmobile jcesarmobile
              filippo.possenti.geopal Filippo Possenti
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: