I'm porting an AIR1.5 application to AIR2.0, and getting stuck at the first hurdle.
adt doesn't seem to recognise the 2.0 namespace.
I'm using the latest command line tools to build the application. This is what I'm typing...
amxmlc -library-path+=../libs/AdobeSpelling.swc -library-path+=../libs/as3corelib.swc E2Publish.as
adt -package -storetype PKCS12 -keystore mypfx.pfx -storepass XXXXX e2publish.air E2Publish.xml E2Publish.swf E2Picons/AIRApp_16.png E2Picons/AIRApp_32.png E2Picons/AIRApp_48.png E2Picons/AIRApp_128.png usa.zwl
<?xml version="1.0" encoding="UTF-8"?>
...but it is otherwise the same as the xml file that worked fine for my AIR1.5 application.
SO - what am I doing wrong?
The AIR-SDK you are using doesn't seem to be the latest one i.e. 2.0 . Can you confirm this by sharing the output of `adt -version` ?
Ahh! Actually, before I posted my question, I downloaded what I THOUGHT was the latest build. (22.214.171.12459 21st March) Open Source Flex SDK.
But adt -version tells me it's adt version "126.96.36.19920". I assume it should say "2.something..." for an AIR 2.0 version.
. . . . . . . . . . . .
Yup, that was it. I found a more recent build of adt, and it worked.