I Have Got This Error While Building Gradle Error:execution Failed For Task ':app:processdebugresources'. > No Slave Process To Process Jobs, Aborting
Solution 1:
This thread was mentioned in No slave process to process jobs, aborting android studio 3.0.1 and I had exact same issue. (Error was not going in-spite of shrink=false, minify=false, invalidte cache).
Simple solution which solved the issue was close the android studio & relaunch it. Not sure why "invalidate cache & restart" failed. But seems that Android is becoming new MSWindows.. (I lost 1.5 hours in finding on forums & trying to fix the error.. Eventually it turned out to be a windows trick.)
Hope this age old trick will help somebody..
Solution 2:
Add shrinkResources true
in your build.gradle and try to build.
buildTypes {
release {
shrinkResources true
}
}
Solution 3:
In my case,
I added compile fileTree(include: ['*.jar'], dir: 'libs')
to my build.gradle(Module:app)
and rebuild my project.
Hope this helps!
Solution 4:
At first go to these setting in android studio (first pic)
and check (second pic) "Use embedded JDK (recommended)"
and also add shrinkResources true in your build.gradle .
buildTypes { release { shrinkResources true }
}
At last rebuild the project.
Post a Comment for "I Have Got This Error While Building Gradle Error:execution Failed For Task ':app:processdebugresources'. > No Slave Process To Process Jobs, Aborting"