java.lang.RuntimeException: Timed out while waiting for slave aapt process, make sure the aapt execute at C:\Users\Administrator\AppData\Local\Android\Sdk\build-tools\23.0.2\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

GitHub | SmallBenClock | 6 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd . Or join the community to write better ones.
  1. 0
    samebug tip
    I did this as root, and works dpkg --add-architecture i386 apt-get install libncurses5:i386 libstdc++6:i386 zlib1g:i386
  2. 0

    在assembleDebug时候出现无法生成对应的apk

    GitHub | 6 months ago | SmallBenClock
    java.lang.RuntimeException: Timed out while waiting for slave aapt process, make sure the aapt execute at C:\Users\Administrator\AppData\Local\Android\Sdk\build-tools\23.0.2\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
  3. 0

    Gradle.run never stops

    Stack Overflow | 1 year ago | Ahmad Mohammed
    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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Muitos Erros no Android Strudio

    ezeenow.com | 1 year ago
    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
  6. 0

    Problema with aapt.exe with build tools 23.0.2: Exception in thread "png-cruncher_3" java.lang.RuntimeException

    Stack Overflow | 1 year ago | Cícero Moura
    java.lang.RuntimeException: Timed out while waiting for slave aapt process, make sure the aapt execute at C:\Android\sdk\build-tools\23.0.2\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

  1. Arne Jans 1 times, last 1 year ago
20 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.RuntimeException

    Timed out while waiting for slave aapt process, make sure the aapt execute at C:\Users\Administrator\AppData\Local\Android\Sdk\build-tools\23.0.2\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()
  2. com.android.tools.build.builder
    WorkQueue.run
    1. com.android.builder.png.AaptProcess.waitForReady(AaptProcess.java:108)
    2. com.android.builder.png.QueuedCruncher$1.creation(QueuedCruncher.java:120)
    3. com.android.builder.tasks.WorkQueue.run(WorkQueue.java:203)
    3 frames
  3. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame