Thursday, December 4, 2008

"error while loading initial content" after upgrade to Flex Builder 3.0.2

I finally got around to upgrading to Flex Builder 3.0.2 (and the new 3.2 SDK!). After the upgrade, however, I couldn't run my AIR project in the in the AIR debugger :(

Flex Builder displayed an error dialog showing the command it used to debug my app, and it's resulting output: "error while loading initial content".

Fortunately, as described in this JIRA bug, the solution was simple. Update the namespace in your AIR project's AppName-app.xml file to reflect the new AIR version 1.5:

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

18 comments:

  1. My pain was you your pain, but your time to publish your pain meant my pain was short. I thank you.

    ReplyDelete
  2. Thank you so very very very very very very much for posting this. I had no idea why I was getting the error and honestly didn't even remember upgrading to Flex Builder 3.0.2.

    As the previous poster said - your pain saved me from having that pain.

    THANKS FOR POSTING!

    ReplyDelete
  3. Great thanks for the help!

    Would be handy if Adobe added a more useful error message ;)

    ReplyDelete
  4. Thanks a bunch for this blog post! Saved my day after having done the same update as you :-)

    ReplyDelete
  5. yay thank you! i have had many, many problems with Adobe utilities' error reporting... they are very good at telling you that there *is* a problem, just not what it is.

    ReplyDelete
  6. That was a truly stunning little piece of advice. Thanks so much!

    ReplyDelete
  7. Thanks for posting! Saved my butt :)

    ReplyDelete
  8. thank you thank you thank you thank youthank you thank you thank you thank you thank you thank you :)

    ReplyDelete
  9. thank you so much, you;ve saved me loads of time!!!

    ReplyDelete
  10. thanksss this saved so much time

    ReplyDelete
  11. Thanks from me also!

    ReplyDelete
  12. thanks! Probably saved med from hours of frustration :)

    ReplyDelete
  13. Thanks for posting this, saved me a lot of time! :)

    ReplyDelete
  14. Thanks! You've saved me a lot of pain, buddy...

    ReplyDelete
  15. Thank you very much!

    ReplyDelete