for slave aapt process, try setting environment variable SLAVE_AAPT_TIMEOUT to a value bigger than 5 seconds
sudodpkg--add-architecturei386sudoapt-getupdatesudoapt-getinstalllibncurses5:i386libstdc++6:i386zlib1g:i386参考自:http://stackoverflow.com/questions/30111443/android-studio-fails-to-build-new-project-tim