automatic configure script for indroid