refine temporary files and android build scripts