Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I do all my Android dev in VIM, and I use ant on the command line for building... what do you find horrible about the command line build? I just use 'ant debug' for debug builds, and 'ant release' for release builds - and 'adb install -r' to install the package once it is built. Usually, it ends up being a couple of up arrows, and enter, on the command line to build / deploy.


I wrote a script to automate these steps as well as taking a few options to allow me to:

- adb clean (because chasing syntax errors that don't exist is a headache)

- run my (shockingly limited) test suite

- copy the .apk to a shared Dropbox directory that I use to let a few people help me test nightly builds

Without the tests the full build takes a few seconds (on MBP from March 2011).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: