I’m trying to build a project for android. It seems to build fine and it installs, the sound plays but then the screen is black.
I’m testing with Mode demo from HaxeFlixel.
Usually when that happens, there’s a stack trace in the log. Have you checked for one?
This suggests that the problem is something to do with Flixel. However, I tested FlxBunnyMark on my Nexus 6, and it ran fine. (My only change was commenting out FLX_NO_MOUSE, because that made it fail to compile.)
Try testing different sample projects until you find the simplest one that fails. Either that, or comment out lines of FlxBunnyMark until it stops crashing.
I could believe that. I’ve heard that text support in OpenFL Next isn’t quite done. What happens if you uncomment that line but add <set name="openfl-legacy" /> in project.xml? (Add this above the line that includes OpenFL as a haxelib.)
adding that line ends the compilation with this error:
C:/HaxeToolkit/haxe/lib/openfl/3,6,1/openfl/_internal/renderer/RenderSession.hx:4: characters 7-39 : Type not found : lime.graphics.CairoRenderContext