java.lang.RuntimeException

Timed out while waiting for slave aapt process, make sure the aapt execute at /data/app/kochiku-worker/android-sdk/build-tools/24.0.0/aapt 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


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

Solutions on the web55199

  • Timed out while waiting for slave aapt process, make sure the aapt execute at /data/app/kochiku-worker/android-sdk/build-tools/24.0.0/aapt can run successfully (some anti-virus may block it) or try setting environment variable SLAVE_AAPT_TIMEOUT to a value bigger than 5 seconds
  • via Stack Overflow by Unknown author, 5 months ago
    Timed out while waiting for slave aapt process, make sure the aapt execute at C:\Users\Fabiola\AppData\Local\Android\Sdk\build-tools\24.0.0\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
  • via Stack Overflow by ligi
    , 1 year ago
    Timed out while waiting for slave aapt process, make sure the aapt execute at /var/go/android/build-tools/24.0.0/aapt can run successfully (some anti-virus may block it) or try setting environment variable SLAVE_AAPT_TIMEOUT to a value bigger than 5 seconds
  • Stack trace

    • java.lang.RuntimeException: Timed out while waiting for slave aapt process, make sure the aapt execute at /data/app/kochiku-worker/android-sdk/build-tools/24.0.0/aapt 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 user
    Once, 10 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    16 more bugmates