I did this as root, and works
dpkg --add-architecture i386 apt-get install libncurses5:i386 libstdc++6:i386 zlib1g:i386
Switch to Android Build Tools 23.0.3
You have a different solution? A short tip here would help you and many other users who saw this issue last week.
- 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.QueuedCruncher$1.creation(QueuedCruncher.java:107) at com.android.builder.tasks.WorkQueue.run(WorkQueue.java:206) at java.lang.Thread.run(Thread.java:745)