Dashboard > Tech Stuff > ... > Adobe Flash > Adobe Flex > Adobe Flex Design Notes > Can't Launch Air Apps After Upgrading from Flex Builder 3.01 to Flex Builder 3.02
  Tech Stuff Log In | Sign Up   View a printable version of the current page.  
 
Can't Launch Air Apps After Upgrading from Flex Builder 3.01 to Flex Builder 3.02
   
Google
Added by Garnet R. Chaney, last edited by Garnet R. Chaney on Oct 10, 2008  (view change)
Labels: 
(None)

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 ServerMonitor: 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:

Hi,

Thanks for this publication. It helped me a lot.

Posted by Anonymous at Nov 30, 2008 21:40 | Reply To This

Hi,

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

Nishant

Posted by Anonymous at Dec 14, 2008 17:59 | Reply To This
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.4.3 Build:#705 Mar 21, 2007) - Bug/feature request - Contact Administrators
Complete Wiki Notation Guide