Profit from Penny Stocks. Learn from a millionaire who shares everything!

Can't Launch Air Apps After Upgrading from Flex Builder 3.01 to Flex Builder 3.02

I just upgraded to Flex Builder 3.02 at the Adobe FlashCamp October 2008. It didn't want to install in the same place as the previous Flex Builder 3.01, so I gave it a new directory. I also installed the Flash 10 Player.

I then opened Flex Builder 3.02 and it showed all my applications.

I picked one of my previous applications, the AIR AIR Server Monitor and tried to launch it in debug from Flex Builder. I got this popup:

The error dialog
"Process terminated without establishing connection to debugger."
"Command:"
"D:\program files\adobe\flex builder 3.02\sdks\3.2.0\bin\adl.exe" d:\projects\flex\servermonitor\flex_bin\servermonitor-app.xml d:\projects\flex\servermonitor\flex_bin
"Output from command:"
"error while loading initial content"

I asked some other people here, and someone thought maybe I didn't have Flash 10 installed. I thought, "Maybe I need to do a projects clean". Still the same error. I double checked to make sure all the files were present.

Fortunately, someone from the AIR team is here. So I asked him to take a look. Ethan found the problem!

It turns out that the problem is in the app.xml file. For FlexBuilder 3.01, this was the line:

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

To properly target for FlexBuilder 3.02, it needs to be changed to:

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

Now the app launches just fine!

Twittered:

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Nov 30, 2008

    Anonymous says:

    Hi, Thanks for this publication. It helped me a lot.

    Hi,

    Thanks for this publication. It helped me a lot.

  2. Dec 14, 2008

    Anonymous says:

    Hi, I can't find the app.xml file . Where is it located ? Nishant

    Hi,

    I can't find the app.xml file . Where is it located ?

    Nishant

    1. Oct 31

      Anonymous says:

      it's the .xml file in the src directory. Some devs may have renamed it. Look thr...

      it's the .xml file in the src directory. Some devs may have renamed it. Look through the xml files for the line mentioned above

Add Comment