I built air app with icon in the past with flash builder, and everything was fine.
Now I have to build another app with adt(air developer tool), but I experience weird problems.
If I just place icon path relative to 'src' folder to app descriptor (as usual), it says:
error 303: Icon icon.png is missing from package
.If I use
icon.png
without path in app descriptor and then put this file everywhere(to root dir, to assets, to src, to build destination and so on), it again sayserror 303: Icon icon.png is missing from package
.If I try to add icon path to adt args like
<arg value="icon.png"/>
( and put it to output folder as it seems that all path are relative to it in my case), it saysThe path icon.png is restricted. If you were trying to package Icon.png you should correct the case
.When I point to original file location (
<arg value="../src/assets/icon.png"/>
), it outputsFile ..\src\assets\icon.png is not relative to directory E:\projQ\flex\MyProject\bin
(thisbin
directory is actually output directory). I've read unapproved comment on adobe forum that this is due to some sandbox limitations, but I'm not even sure that sandbox exists for adt( if it exists, then why? )
So, what shall I do to successfully add icon to that app?
I guess that using tools like resHacker to project's .exe
will not help as .exe
is just a launcher for .swf
file, and anyway I consider that this awful way leads to the dark side of programming.
(P.S. can't add 'adt' tag that relates to adobe, not android.)