Sensible main() producing APKs