-1
Hello, since yesterday I come across a problem in Android Studio, When it opens it never finishes to load the project, yesterday I left for more than 5 hours and nothing...
I already deleted the folder .gradle
and did not help, I tried to open by a backup of my project and again endless loop... I just created a new project for now this in 15 minutes and again, nothing !
I noticed something new here.
Exception in thread "png-cruncher_5" java.lang.Runtimeexception: Timed out while Waiting for slave aapt process, make sure the aapt execute at C: Users Walla Appdata Local Android Sdk build-tools 25.0.3 aapt.exe can run successfully (some anti-virus may block it) or Try Setting Environment variable SLAVE_APT_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:121) at com.android.Builder.tasks.Workqueue.run(Workqueue.java:205) at java.lang.Thread.run(Thread.java:745)
Exception in thread "png-cruncher_1" java.lang.Runtimeexception: Timed out while Waiting for slave aapt process, make sure the aapt execute at C: Users Walla Appdata Local Android Sdk build-tools 25.0.3 aapt.exe can run successfully (some anti-virus may block it) or Try Setting Environment variable SLAVE_APT_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:121) at com.android.Builder.tasks.Workqueue.run(Workqueue.java:205) at java.lang.Thread.run(Thread.java:745)
Exception in thread "png-cruncher_3" java.lang.Runtimeexception: Timed out while Waiting for slave aapt process, make sure the aapt execute at C: Users Walla Appdata Local Android Sdk build-tools 25.0.3 aapt.exe can run successfully (some anti-virus may block it) or Try Setting Environment variable SLAVE_APT_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:121) at com.android.Builder.tasks.Workqueue.run(Workqueue.java:205) at java.lang.Thread.run(Thread.java:745)
Exception in thread "png-cruncher_4" java.lang.Runtimeexception: Timed out while Waiting for slave aapt process, make sure the aapt execute at C: Users Walla Appdata Local Android Sdk build-tools 25.0.3 aapt.exe can run successfully (some anti-virus may block it) or Try Setting Environment variable SLAVE_APT_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:121) at com.android.Builder.tasks.Workqueue.run(Workqueue.java:205) at java.lang.Thread.run(Thread.java:745)
Exception in thread "png-cruncher_2" java.lang.Runtimeexception: Timed out while Waiting for slave aapt process, make sure the aapt execute at C: Users Walla Appdata Local Android Sdk build-tools 25.0.3 aapt.exe can run successfully (some anti-virus may block it) or Try Setting Environment variable SLAVE_APT_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:121) at com.android.Builder.tasks.Workqueue.run(Workqueue.java:205) at java.lang.Thread.run(Thread.java:745)
Have you tried to do what the message recommended? Specifically the snippet "Make sure 'C: Users Walla Appdata Local Android Sdk build-tools 25.0.3 aapt.exe' runs correctly(some antivirus may block it)."
– Genos
finished the coffee , I will try.
– Wallace Roberto
put in the list of exclusions of Avast now was, although the same error appeared in Gradle console
– Wallace Roberto
I’m voting to close because according to the AP "was the firewall that was blocking the file"
– Icaro Martins