Hi there.
I installed the NDK, SDK, Ant, and had a jdk (1.8) floating around. ‘openfl setup android’ didn’t give me any errors. However, when I compile for android in FlashDevelop, it says:
'arm-linux-androideabi-g++' is not recognized as an internal or external command,
operable program or batch file.
Error: Could not create PCH
Build halted with errors.
a search for ‘arm-linux-androideabi’ returns a file with lots of .o files, but nothing mentioning g++. By the way, my C++ compiler is MinGW, and of course doesn’t mention linux or android. I also tried compiling with ‘openfl build android’, but it gave me the first result. So after lots of online searching, I tried to compile my project on the command line using ‘lime build android -emulator’.
Creating C:/Users....../__pch/haxe/hxcpp.h.gch...
C:/HaxeToolkit......./hxcpp/3,4,2/include/hxcpp.h:19:23: fatal error: typeinfo: No such file or directory
#include <typeinfo>
^
compilation terminated
Error: Could not create PCH