I tried vim, but the command-line builds were horribly slow, and almost all documentation and tutorials I found expected me to be using Eclipse.
I tried vim, but the command-line builds were horribly slow, and almost all documentation and tutorials I found expected me to be using Eclipse.
Seriously, give IntelliJ IDEA a try. Personally I think it's a lot nicer and snappier than Eclipse. It has a free edition. You might still decide that you don't like it but I think it's definitely worth a try. Also, the last time I checked (which was years ago, admittedly) it worked with Android perfectly.
- Write code in VIM
- Build everything on Eclipse.
Basically keep eclipse open only to build, and deploy to the smartphone. Everything else, do it in vim.
Every one of these is a valuable optimization for some workflow somewhere. All of them reduce the compile/test cycle by seconds or minutes, speeding development. NONE of them are done by any IDE I'm aware of.
Seriously: write code to help you write code. If you aren't doing this, you probably aren't writing good code. And if you gave that answer in an interview, I for one wouldn't hire you.
That's why I'm always wondering why anyone would so much want to waste time with typing Java on VIM (even though I DO use Vim for other programming tasks) instead of just using an IDE specifically customized to make such development faster and easier.
I use Maven for all my Android builds.
- 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).
I really would recommend sticking with it for a while and then moving on to vim once you've got some experience in the process.
Also, try using eclipse on very large projects -- it gets very slow. Sometimes I'm not sure if eclipse is hung, or if it's still stuck compiling something or fetching something in maven.
do all that the docs tell you that the ide is doing ioutside of it and compile.
i did the test. eclipse version had 30 extra kb i could never explain.
i read the "other ide" page on androids docs and understood all the build process.
if i used eclipse, all i would know is how to hunt down menus filled under nonsense names...
painfully typed on a mobile