Android Studio fails to build new project, timed out while wating for slave aapt process
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I've installed Android Studio 1.2, and created a new project. When I attempt to build, it hangs. This is in the Gradle Console, along with about 20 other copies, with different numbers after png-cruncher_: Exception in thread "png-cruncher_2" java . lang . RuntimeException : Timed out while waiting for slave aapt process , try setting environment variable SLAVE_AAPT_TIMEOUT to a value bigger than 5 seconds at com . android . builder . png . AaptProcess . waitForReady ( AaptProcess . java : 104 ) at com . android . builder . png .