2 Replies Latest reply on Jun 15, 2010 1:01 AM by Daniel Freeman

    Invalid namespace http://ns.adobe.com/air/application/2.0

    Daniel Freeman Level 1

      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

      But I get an error from adt saying "error 102: Invalid namespace http://ns.adobe.com/air/application/2.0".
      The beginning of my xml description file looks like this...

      <?xml version="1.0" encoding="UTF-8"?>

      <application xmlns="http://ns.adobe.com/air/application/2.0">

       

      ...but it is otherwise the same as the xml file that worked fine for my AIR1.5 application.

       

      SO - what am I doing wrong?