Now that I sort of know my way around the SDK/API, I've switched from Eclipse back to my favorite text editor, which means I have to use ant to build my project, however:
It seems every other time I compile the project, a lot of drawables get corrupted, resources lose their ids (resulting in NPEs in the code), or classes throw "Verify Errors".
The only way to fix this is by removing the bin
and gen
folders, and recompiling, which is obviously annoying.
Is there any way to avoid this?
btw, I'm using ant 1.7.1, java version "1.6.0_20"