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

Could not write icon files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 3.5.0
    • None
    • Ubuntu 14.04 64bit

    Description

      No icons are copied to the generated package.

      cordova build firefoxos

      cp: copyFileSync: could not write to dest file (code=ENOENT):/home/.../platforms/firefoxos/www/icon/icon-60.png
      cp: copyFileSync: could not write to dest file (code=ENOENT):/home/.../platforms/firefoxos/www/icon/icon-128.png
      cp: copyFileSync: could not write to dest file (code=ENOENT):/home/.../platforms/firefoxos/www/icon/icon-512.png

      "..." is changed by me.
      there is no icon directory and if I create it there is no change.

      the config.xml contain

      <platform name="firefoxos">
      <icon src="logo/firefox60.png" width="60" height="60" />
      <icon src="logo/firefox128.png" width="128" height="128" />
      <icon src="logo/firefox512.png" width="512" height="512" />
      </platform>

      The error messages does not show if I change any src to a path that does not exist.
      However icons are still not copied.

      Attachments

        Activity

          People

            Unassigned Unassigned
            hultqvist Peter Hultqvist
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: