12-10-2010 01:32 PM
I was trying to get the hello world app working through command line. I generated the swf file but when I try to package with the following command i get this error. Any help is very appreciated.
Solved! Go to Solution.
12-10-2010 02:07 PM
12-10-2010 02:11 PM
Something seems to be wrong with the application.xml, can you post that file or try using the xml below:
<?xml version="1.0" encoding="UTF-8"?> <application xmlns="http://ns.adobe.com/air/application/2.5"> <id>AIRHelloWorld</id> <filename>AIRHelloWorld</filename> <name>AIRHelloWorld</name> <versionNumber>1.0.0</versionNumber> <initialWindow> <content>AIRHelloWorld.swf</content> <autoOrients>true</autoOrients> <fullScreen>true</fullScreen> <visible>true</visible> </initialWindow> </application>
12-10-2010 03:01 PM
It does work but your command line arguement ordering was off, you have to do SWF, app descriptor file, then any other files to package with the .bar package.
12-10-2010 03:47 PM - edited 12-10-2010 03:52 PM
Just to confirm what Renaun said, I've succeeded in having an icon, by putting the icon file name after the swf's name. I also haven't had to use -password at all.
ps. I have the app descriptor file then the swf, then the icon, so it seems at least the descriptor and swf can be in either order. Unless Renaun's order doesn't work?