[SOLVED] Cannot compile for android


After a reinstall, with the newest haxe (3.2.0) openfl and lime, when I try to compile for android I get this:

/opt/android-sdk/tools/ant/build.xml:694: Execute failed: java.io.IOException: Cannot run program "<project-dir>/Export/android/bin/deps/extension-api/${aapt}" (in directory "/<project-dir>/Export/android/bin/deps/extension-api"): error=2, No such file or directory

Maybe I did not install something important in the android sdk? I have API 16 and 19 installed.
I am sure it is something stupid, but I can just not find it …

Did you also get the Android SDK platform-tools?

Yes I did install it :frowning:

If you have Android SDK tools 24.3.2, look here: http://stackoverflow.com/questions/30812770/ant-jar-error-execute-failed-java-io-ioexception-cannot-run-program-aapt#

I’m not building for Android these days, but I set it up maybe a month ago. Just trying to make sure you got set up with all the stuff… Did you also install Android SDK Build-tools?

Beyond that there’s not much I can help with, I’m afraid :S

I wonder if we should wait this out, or if we should consider duplicating the fix (above) and putting it in our build.xml files