I've got a single Android project which I need to build many .apk's from. The .apk's differ from each other in only a few ways:

1. there are a few values in the Android manifest file that differ from each other
2. some of the .apk's might exclude some files in the /res folder
3. different package name

What is the best way to build all these different .apk's automatically?

Thanks!