I'm reading Cordova documentation. The version is 3.5.0. In the "Icon and splash screen" section ( here) i read this for the tag :
src: (required) specifies the location of the image file, relative to your www directory
and after
the following configuration can be used to define single default icon which will be used for all platforms.
<icon src="res/icon.png" />
The documentation of edge version (choice from dropdown at top right of window (here)) instead tells:
src: (required) specifies the location of the image file, relative to your project directory
My version is 3.5.0-0.2.7 but the behaviour of build is not the same of that specified in the relative documentation. If i put the png icon in the www directory, when i run emulate command (for android) an error is generated. The error is that Cordova tries to search the app icon in the project root directory and not in the www directory. If i put the icon in the project root directory the emulate command works fine but the app icon doesn't change.
The documentation is wrong?