java.lang.RuntimeException

Timed out while waiting for slave aapt process, make sure the aapt execute at C:\Users\moumen\AppData\Local\Android\Sdk\build-tools\23.0.3\aapt.exe can run successfully (some anti-virus may block it) or try setting environment variable SLAVE_AAPT_TIMEOUT to a value bigger than 5 seconds

Samebug tips2

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


rprp

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Stack trace

  • java.lang.RuntimeException: Timed out while waiting for slave aapt process, make sure the aapt execute at C:\Users\moumen\AppData\Local\Android\Sdk\build-tools\23.0.3\aapt.exe can run successfully (some anti-virus may block it) or try setting environment variable SLAVE_AAPT_TIMEOUT to a value bigger than 5 seconds at com.android.builder.png.AaptProcess.waitForReady(AaptProcess.java:108) at com.android.builder.png.QueuedCruncher$1.creation(QueuedCruncher.java:110) at com.android.builder.tasks.WorkQueue.run(WorkQueue.java:203) at java.lang.Thread.run(Thread.java:745)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,
16 more bugmates