Icon incorrectly assumed to be in www/ directory
Bug #1419985 reported by
Robert Schroll
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cordova Ubuntu |
Fix Released
|
High
|
Maxim Ermilov |
Bug Description
If you specify "<icon src='res/icon.png' />" in your config.xml file, the Ubuntu build process tries to find "www/res/icon.png". In contrast, the Android build process looks for "res/icon.png". The Cordova docs [1] specify the latter: "src: (required) specifies the location of the image file, relative to your project directory".
[1] http://
To post a comment you must log in.
Note that the behaviour differs depending on the Ubuntu release:
- Ubuntu 14.10: the icon is searched on $PROJECTDIR
- Ubuntu 15.04: the icon is searched on $PROJECTDIR/www