Do you face some fatal with init your android build enviorment? Just use this shell script for fixed your problem.