I've tried to adapt the specified code for Android, but Sublime is smarter than I am apparently.
For the simplest cases, when you build an Android app via ant, you can target "compile", "debug", "install", and "release". For instance:
will build any missing classes (such as R.java) and compile your code
as above, and will build an unsigned version of your app
same as "ant debug", but will also install the app on a default emulator or physical device
create a signed version of your app, assuming you have a keystore specified in your build.properties (which exists in your project root)
So I tried this:
"cmd": "ant compile"],
but I get an error message
[Errno 2] No such file or directory
How can I fix this? Also, should I be creating a new "build system" for each of the ant targets (compile, debug,install,release)?