Hi!
I recently came back to Haxe/openfl from a long time away.
I started out by creating a new project and setting up the android platform.
After building the app on the device, it immediately crashes leaving no traces for debugging.
I’ve tried verbose, debug etc. nothing useful comes out of it. This is a fresh new project which only contains the following:
(log)
BUILD SUCCESSFUL
Total time: 9 seconds
/system/bin/sh: can't create C:UsersLPC-AppDataLocalTemp/temp_13093254: No such file or directory
5137 KB/s (3950896 bytes in 0.751s)
pkg: /data/local/tmp/Lab-debug.apk
Success
Starting: Intent { act=android.intent.action.MAIN cmp=xx.xx.lab.Lab/.MainActivity }
package xx.xx.lab;
import xx.xx.lab.menu.StartMenu;
import haxe.Json;
import openfl.Assets;
import openfl.display.Sprite;
import sys.io.File;
/**
* ...
* @author Linus Jakobsson
*/
class Main extends Sprite
{
private var startMenu: StartMenu;
public function new()
{
super();
/*
var getJson = Json.parse(File.getContent('json/stats.json'));
trace('this is a test' + getJson.employees[0].firstName);
Assets:
openfl.Assets.getBitmapData("img/assetname.jpg");
*/
}
}
Any pointers?