2017-11-25 13 views
2

を中止グレードgradleをビルド中にこのエラーが発生しました。エラー:タスク ':app:processDebugResources'の実行に失敗しました。 >ジョブを処理するには、noスレーブ・プロセスを、

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')} 
+0

ここであなたのbuild.gradleを共有できますか? –

+0

build.gradleファイルを確認してください –

+1

新しいアンドロイドスタジオ(3.0.X)以来、私は同じ問題を抱えています。これを取得するたびに、キャッシュを無効にして再起動する必要があります。 – Chol

答えて

2

を構築しながら、私はこのエラーを持っているが、あなたのbuild.gradleにshrinkResources trueを追加して構築してみてください。

buildTypes { 
    release { 
     shrinkResources true 
    } 
} 
+0

私も今日このエラーが発生し始めた。私はライブラリモジュールなので、shrinkResourcesを追加することはできません –

関連する問題