Flex “Output from command: error while loading initial content” fix

If you are having problems getting a new SDK installation to work with Flex Builder 3 (e.g. if you’re trying to compile a Flex project as AIR application using Flash Player 10) and get the following error:

Process terminated without establishing connection to debugger.
Command:
"C:\Program Files (x86)\Adobe\Flex Builder 3\sdks\3.5\bin\adl.exe" "projectPath" "bin-debug location"
Output from command:
error while loading initial content
Process terminated without establishing connection to debugger.
Command:
"C:\Program Files (x86)\Adobe\Flex Builder 3\sdks\3.5\bin\adl.exe" "projectPath" "bin-debug location"
Output from command:
error while loading initial content

here is the solution, thanks to Jim Hayes.

In your project, there’s a file called <yourApplicationName>-app.xml. Open it and change the following:

<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://ns.adobe.com/air/application/x.x">

to:

<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://ns.adobe.com/air/application/1.5">

That should solve your problem.

Leave a reply