I have got this Error while building grade
Error:Execution failed for task ':app:processDebugResources'. > No slave process to process jobs, aborting
Build.gradle
apply plugin: 'com.android.application' android {
compileSdkVersion 26
buildToolsVersion "26.0.2"
defaultConfig {
applicationId "com.colorball.madness"
minSdkVersion 14
targetSdkVersion 26
multiDexEnabled true
ndk {
moduleName "player_shared"
}}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
} } }dependencies {
compile 'com.google.android.gms:play-services:+'
compile files('libs/dagger-1.2.2.jar')
compile files('libs/javax.inject-1.jar')
compile files('libs/nineoldandroids-2.4.0.jar')
compile files('libs/PTAdRevMob.jar')
compile 'com.android.support:appcompat-v7:26.1.0'
compile 'com.android.support:multidex:1.0.1'
compile files('libs/support-v4-19.0.1.jar')}
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..
Add shrinkResources true
in your build.gradle and try to build.
buildTypes {
release {
shrinkResources true
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With