awesome thanks.
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:
- Code: Select all
ant compile
will build any missing classes (such as R.java) and compile your code
- Code: Select all
ant debug
as above, and will build an unsigned version of your app
- Code: Select all
ant install
same as "ant debug", but will also install the app on a default emulator or physical device
- Code: Select all
ant release
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:
- Code: Select all
{
"cmd": ["ant compile"],
"working_dir": "${project_path:${folder}}"
}
but I get an error message
- Code: Select all
[Errno 2] No such file or directory
[Finished]
How can I fix this? Also, should I be creating a new "build system" for each of the ant targets (compile, debug,install,release)?
tia!