Icon cannot be found on build
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cordova Ubuntu |
Fix Released
|
Medium
|
Maxim Ermilov |
Bug Description
On Ubuntu 14.10, with a simple cordova app, the build fails because the icon cannot be found. The icon does exist, but I at least could not figure a way to specify it.
$ apt-cache policy cordova-cli
cordova-cli:
Instaŀlat: 4.1.0~ubuntu14.
Candidat: 4.1.0~ubuntu14.
Taula de versió:
*** 4.1.0~ubuntu14.
500 http://
100 /var/lib/
Steps to reproduce:
$ cordova create test-app com.ubuntu.
$ cd test-app
$ cordova platform add ubuntu
$ vi config.xml
<icon src="img/logo.png" />
$ cordova build --device
missing icon element in config.xml
missing icon element in config.xml
Running command: /tmp/test-
Building Phone Application...
Missing icon
Error: /tmp/test-
at ChildProcess.
at ChildProcess.
at maybeClose (child_
at Process.
Now if I edit the config.xml file again, specifying a path not relative to the www dir:
<icon src="www/
$ cordova build --device
Error: icon does not exist: /tmp/test-
at Object.
at Object.
at Object.
at /usr/share/
at Array.map (native)
at /usr/share/
at _fulfilled (/usr/share/
at self.promiseDis
at Promise.
at /usr/share/
description: | updated |
tags: | added: cordova-blocker cordova-workshop |
put icon in booth location.