Skip to main content
Adam_Tuttle
Participating Frequently
August 26, 2011
Question

Emulator shows only a white screen... what gives?

  • August 26, 2011
  • 2 replies
  • 3701 views

I've tried every combination of Flex, Flash Builder, and AIR I can think of & have at my disposal, but I still have this problem.

OSX Lion

Flash Builder 4.5 (CS5.5 installer)

Flex 4.5.0

AIR 2.7 runtime installed

  • New Mobile Project (tabbed) with tabs a, b, c.
  • Accept all of the rest of the defaults from the wizard.
  • Add a debug configuration targeting Xoom
  • Debug
  • Where the emulator normally comes up with my app, all I get is a white screen

See it in action here: http://vimeo.com/28179638 (password: "flex")

Here's a screenshot of the firewall dialog that pops up but is quickly dismissed (not hidden behind any windows, I checked): http://skitch.com/fusiongrokker/fu7d5/screen-recording.mov

I downloaded the Flex 4.5.1 sdk, and my test app (new app from wizard) did the exact same thing.

I upgraded to the AIR 3 beta 2 runtime and sdk, and my test app (new app from wizard) did the exact same thing.

I uninstalled Flash Builder and AIR, reinstalled both, and my test app (new app from wizard) did the exact same thing.

What gives? Where do I go from here?

This topic has been closed for replies.

2 replies

Adam_Tuttle
Participating Frequently
August 29, 2011

I've since been in touch with some folks from Adobe. They gave me two suggestions:

  1. check ~/mm.cfg for lines starting with "Preload"... and remove them.
  2. Start the application using the Flash Builder profiler, terminate the profiler session, then run the debugger again.

Option #2 didn't do anything for me. Fortunately, option #1 did. I had the following line in that file:

PreloadSWF=/Users/me/Library/Application Support/Firefox/Profiles/8nde0w3t.default/extensions/flashfirebug@o-minds.com/chrome/content/flashfirebug/flashfirebug.swf

After removing it, debugging my application works without issue.

Santanu Karar
Known Participant
September 8, 2011

Did the 1. work with me too. Thanks Adam! But I'm wondering why this bug happening!

Colin Holgate
Inspiring
August 26, 2011

Have you gone into the app descriptor and set the manifestadditions to permit Internet? There would be a bit that is like this:

   <android>

        <manifestAdditions><![CDATA[<manifest><uses-permission android:name="android.permission.INTERNET"/></manifest>]]></manifestAdditions>

    </android>

Without giving some permissions, at least the Internet one, the Android app won't run. At least it won't run with any other tool I've used, haven't tried Flash Builder.

Adam_Tuttle
Participating Frequently
August 26, 2011

The internet permission is enabled by default during the wizard. I did not disable it.