Skip to content Skip to sidebar Skip to footer

Executing Tasks: [clean, :app:assembledebug] Error - Android Studio 3

i am new of android studio. and i am making my first apps, in the previous version 2.3 i dont have problem or stuck when making apps. but when i upgrade to the new version 3.0 i go

Solution 1:

Put this in system variables:

SLAVE_AAPT_TIMEOUT = 30

Then restart Windows, works beautifully for me.

Solution 2:

Some Android Studio 3.0 users with similar build errors.

Your Error logs say:

Exception in thread "queued-resource-processor_4" java.lang.RuntimeException: Timed out while waiting for slave aapt process, make sure the aapt execute at C:\Users\kreuzell\AppData\Local\Android\Sdk\build-tools\26.0.2\aapt2.exe can run successfully **(some anti-virus may block it)** ortry setting environment variable SLAVE_AAPT_TIMEOUT to a value bigger than 5 seconds

It means, if your Internet connection is fine, your aapt process may be blocked by your antivirus or firewall. Try disabling your antivirus and build again.

If not works, you can try disabling AAPT2 like this:

Improved incremental resource processing using AAPT2, which is enabled by default. If you are experiencing issues while using AAPT2, you can disable it by setting android.enableAapt2=false in your gradle.properties file and restarting the Gradle daemon by running ./gradlew --stop from the command line.

Post a Comment for "Executing Tasks: [clean, :app:assembledebug] Error - Android Studio 3"