Skip to main content
April 18, 2012
Question

Stage3D error on android device

  • April 18, 2012
  • 3 replies
  • 4091 views

I have been trying to get my Starling/Stage3d based app developed using AIR 3.2 SDK to run on an OEM android tablet without success. It fails at startup when trying to get context3d "Error #3702:Context3D not available". I am at a loss as where to look. Are there any specific requirements or restrictions for Stage 3D to run on android devices?

Even worse, I cannot get the app to run on the android emulator also. I have checked the wmode(set to direct) in air app xml as well as swf-version compiler directive(set to 15) in FlashDevelop but it just does not work. Switching to native display list instead of Starling/Stage3D seems to work fine on both device and emulator.

You'll be my hero if you can help me with this 🙂

This topic has been closed for replies.

3 replies

May 21, 2012

Well, it turned out to be a color depth issue - switching from the default 32 bit to 16 bit fixed the problem. A misleading error message from Stage3D added to the confusion!

User Unknow
Legend
May 21, 2012

Please let me know what you mean

switching from the default 32 bit to 16 bit fixed the problem.

What exactly and where you done this? I want to try also

May 21, 2012

Add <colorDepth>16bit</colorDepth> to the android section of your app xml. This forces AIR to use 16 bit color depth which may be the max supported by some devices.

User Unknow
Legend
May 20, 2012

Before install software you must read Manual! This all was printed few month ago!

Participant
May 19, 2012

in your app xml file, under render mode tag <renderMode>direct</renderMode> add another <depthAndStencil>true</depthAndStencil>