Reputation: 261
Im trying to build hello world in haxeflixel for android. So there is deal : i create new project build it and then send it into device and run it. After few seconds app turns off. Its my first android app ever, so basically im pretty lost. I added only one line in create method in MenuState class: add(new FlxText(100, 100, 0, "hello world"));
. My thinking was that i need to change resolution but after few tries nothing change. My current res is 800 x 480
.
I think that its in AndroidManifest.xml. But there should be default manifest if i understand it correctly.
So where is catch ? What i did wrong ? Thanks for tips.
Edit : forgot mention that spash logo didnt appear either. And its turned on in code
pastebin with logcat (splited on two)
link 1
link 2
or maybe working hello world sample could be handy. From that point i can look for my mistakes.
Upvotes: 1
Views: 350
Reputation: 892
try this:
add(new FlxText(0, 0, 100, "hello world"));
Just under super.create();
. Maybe it solves the problem.
Upvotes: 1