Getting "invalid application descriptor: Unknown namespace: library://ns.adobe.com/flex/spark"
when using adl (command-line debugger) for a flash-builder 4.6 adobe air project
its a very simple project
mxml file starts like this :
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
invoke="onInvoke(event)" visible="false"> ...
i read about a similer problems, where solution was to swap the xmlns value to "http://ns.adobe.com/air/application/3.1"/.
swapping values gave me another error :
"invalid application descriptor: application filename must have a non-empty value"
also,
the whole reason for this is that i have a program that must run my air app so i need a way to run a flash-builder project in the command-line
im using adl
is this the best way ?
edit :
the descriptor file code :
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<application xmlns="http://ns.adobe.com/air/application/3.1">
<id>exporter</id>
<filename>exporter</filename>
<name>exporter</name>
<versionNumber>0.0.0</versionNumber>
<initialWindow>
<content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
<autoOrients>false</autoOrients>
<fullScreen>false</fullScreen>
<visible>false</visible>
</initialWindow>
</application>