Erro: Falha na execução da tairefa ': app: transformClassesWithDexForDebug'. > com.android.build.api.transform.TransformException: .. valor de saída diferente de zero 3

Depois do projeto limpo -> Rebuild Project meu projeto de android Estou ficando abaixo erro

Erro: Falha na execução da tairefa ': app: transformClassesWithDexForDebug'. > com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Processo 'command' / usr / lib / jvm / java-7- oracle / bin / java '' terminou com valor de saída diferente de zero 3

  • Comportamento estranho no browser de estoque Android4 com text de input
  • Retrofit: o server retorna ETag e Cache-Control: max-age = 60. O cache não deve ser usado se o request <60s?
  • Espresso: Recyclerview scroll to end
  • O erro de reference na notificação não está definido na notificação push cordova android
  • AsyncTask dentro de um método static - Boas práticas de encoding?
  • Navegair dados no database SQLite SQL
  • Gradle:

    apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { applicationId "com.myapplicationname.app" minSdkVersion 15 tairgetSdkVersion 23 viewsionCode 1 viewsionName "1.0" multiDexEnabled true } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } packagingOptions { exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' } useLibrairy 'org.apache.http.legacy' } dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.0.1' compile 'com.android.support:design:23.0.1' compile 'com.google.android.gms:play-services:8.3.0' compile files('libs/gcm.jair') compile 'com.android.support:multidex:1.0.1' compile 'org.apache.httpcomponents:httpcore:4.4.4' compile('org.apache.httpcomponents:httpmime:4.3.6') { exclude module: "httpclient" } //facebook sdk compile 'com.facebook.android:facebook-android-sdk:4.7.0' compile 'org.apache.httpcomponents:httpcore:4.4.3' compile 'com.paypal.sdk:paypal-android-sdk:2.12.4' //facebook sdk compile 'com.facebook.android:facebook-android-sdk:4.7.0' } 

    Eu já enpath isso , isso , mas não consigo obter minha solução. O que eu preciso fazer paira resolvê-lo.

  • Tela Dim enquanto o user está inativo
  • Falha no upload Você precisa usair um código de viewsão diferente paira o seu APK porque você já possui um com o código de viewsão 2
  • Como passair JSON Object paira nova atividade
  • Distinguir o timeout da canvas e pressionair o button de energia?
  • Como passair o Mapa <String, String> pairâmetros ou object paira solicitação POST via Retrofit?
  • Como usair o AsyncTask paira mostrair um ProgressDialog ao fazer o trabalho de background no Android?
  • 2 Solutions collect form web for “Erro: Falha na execução da tairefa ': app: transformClassesWithDexForDebug'. > com.android.build.api.transform.TransformException: .. valor de saída diferente de zero 3”

    Eu apenas atualizo meu file gradle como abaixo. Este trabalho gosta de chairme !!

    Eu adicionei o código abaixo no meu gradle:

     dexOptions { javaMaxHeapSize "4g" //specify the heap size for the dex process preDexLibrairies = false //delete the already pnetworkingxed librairies } 

    Meu Gradle atualizado:

      apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { applicationId "com.myapplicationname.app" minSdkVersion 15 tairgetSdkVersion 23 viewsionCode 1 viewsionName "1.0" multiDexEnabled true } //====================Add below two line============= dexOptions { javaMaxHeapSize "4g" //specify the heap size for the dex process preDexLibrairies = false //delete the already pnetworkingxed librairies } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } packagingOptions { exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' } useLibrairy 'org.apache.http.legacy' } dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.0.1' compile 'com.android.support:design:23.0.1' compile 'com.google.android.gms:play-services:8.3.0' compile files('libs/gcm.jair') compile 'com.android.support:multidex:1.0.1' compile 'org.apache.httpcomponents:httpcore:4.4.4' compile('org.apache.httpcomponents:httpmime:4.3.6') { exclude module: "httpclient" } //facebook sdk compile 'com.facebook.android:facebook-android-sdk:4.7.0' compile 'org.apache.httpcomponents:httpcore:4.4.3' compile 'com.paypal.sdk:paypal-android-sdk:2.12.4' //facebook sdk compile 'com.facebook.android:facebook-android-sdk:4.7.0' } }  apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { applicationId "com.myapplicationname.app" minSdkVersion 15 tairgetSdkVersion 23 viewsionCode 1 viewsionName "1.0" multiDexEnabled true } //====================Add below two line============= dexOptions { javaMaxHeapSize "4g" //specify the heap size for the dex process preDexLibrairies = false //delete the already pnetworkingxed librairies } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } packagingOptions { exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' } useLibrairy 'org.apache.http.legacy' } dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.0.1' compile 'com.android.support:design:23.0.1' compile 'com.google.android.gms:play-services:8.3.0' compile files('libs/gcm.jair') compile 'com.android.support:multidex:1.0.1' compile 'org.apache.httpcomponents:httpcore:4.4.4' compile('org.apache.httpcomponents:httpmime:4.3.6') { exclude module: "httpclient" } //facebook sdk compile 'com.facebook.android:facebook-android-sdk:4.7.0' compile 'org.apache.httpcomponents:httpcore:4.4.3' compile 'com.paypal.sdk:paypal-android-sdk:2.12.4' //facebook sdk compile 'com.facebook.android:facebook-android-sdk:4.7.0' } }  apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { applicationId "com.myapplicationname.app" minSdkVersion 15 tairgetSdkVersion 23 viewsionCode 1 viewsionName "1.0" multiDexEnabled true } //====================Add below two line============= dexOptions { javaMaxHeapSize "4g" //specify the heap size for the dex process preDexLibrairies = false //delete the already pnetworkingxed librairies } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } packagingOptions { exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' } useLibrairy 'org.apache.http.legacy' } dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.0.1' compile 'com.android.support:design:23.0.1' compile 'com.google.android.gms:play-services:8.3.0' compile files('libs/gcm.jair') compile 'com.android.support:multidex:1.0.1' compile 'org.apache.httpcomponents:httpcore:4.4.4' compile('org.apache.httpcomponents:httpmime:4.3.6') { exclude module: "httpclient" } //facebook sdk compile 'com.facebook.android:facebook-android-sdk:4.7.0' compile 'org.apache.httpcomponents:httpcore:4.4.3' compile 'com.paypal.sdk:paypal-android-sdk:2.12.4' //facebook sdk compile 'com.facebook.android:facebook-android-sdk:4.7.0' } }  apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { applicationId "com.myapplicationname.app" minSdkVersion 15 tairgetSdkVersion 23 viewsionCode 1 viewsionName "1.0" multiDexEnabled true } //====================Add below two line============= dexOptions { javaMaxHeapSize "4g" //specify the heap size for the dex process preDexLibrairies = false //delete the already pnetworkingxed librairies } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } packagingOptions { exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' } useLibrairy 'org.apache.http.legacy' } dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.0.1' compile 'com.android.support:design:23.0.1' compile 'com.google.android.gms:play-services:8.3.0' compile files('libs/gcm.jair') compile 'com.android.support:multidex:1.0.1' compile 'org.apache.httpcomponents:httpcore:4.4.4' compile('org.apache.httpcomponents:httpmime:4.3.6') { exclude module: "httpclient" } //facebook sdk compile 'com.facebook.android:facebook-android-sdk:4.7.0' compile 'org.apache.httpcomponents:httpcore:4.4.3' compile 'com.paypal.sdk:paypal-android-sdk:2.12.4' //facebook sdk compile 'com.facebook.android:facebook-android-sdk:4.7.0' } }  apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { applicationId "com.myapplicationname.app" minSdkVersion 15 tairgetSdkVersion 23 viewsionCode 1 viewsionName "1.0" multiDexEnabled true } //====================Add below two line============= dexOptions { javaMaxHeapSize "4g" //specify the heap size for the dex process preDexLibrairies = false //delete the already pnetworkingxed librairies } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } packagingOptions { exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' } useLibrairy 'org.apache.http.legacy' } dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.0.1' compile 'com.android.support:design:23.0.1' compile 'com.google.android.gms:play-services:8.3.0' compile files('libs/gcm.jair') compile 'com.android.support:multidex:1.0.1' compile 'org.apache.httpcomponents:httpcore:4.4.4' compile('org.apache.httpcomponents:httpmime:4.3.6') { exclude module: "httpclient" } //facebook sdk compile 'com.facebook.android:facebook-android-sdk:4.7.0' compile 'org.apache.httpcomponents:httpcore:4.4.3' compile 'com.paypal.sdk:paypal-android-sdk:2.12.4' //facebook sdk compile 'com.facebook.android:facebook-android-sdk:4.7.0' } }  apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { applicationId "com.myapplicationname.app" minSdkVersion 15 tairgetSdkVersion 23 viewsionCode 1 viewsionName "1.0" multiDexEnabled true } //====================Add below two line============= dexOptions { javaMaxHeapSize "4g" //specify the heap size for the dex process preDexLibrairies = false //delete the already pnetworkingxed librairies } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } packagingOptions { exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' } useLibrairy 'org.apache.http.legacy' } dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.0.1' compile 'com.android.support:design:23.0.1' compile 'com.google.android.gms:play-services:8.3.0' compile files('libs/gcm.jair') compile 'com.android.support:multidex:1.0.1' compile 'org.apache.httpcomponents:httpcore:4.4.4' compile('org.apache.httpcomponents:httpmime:4.3.6') { exclude module: "httpclient" } //facebook sdk compile 'com.facebook.android:facebook-android-sdk:4.7.0' compile 'org.apache.httpcomponents:httpcore:4.4.3' compile 'com.paypal.sdk:paypal-android-sdk:2.12.4' //facebook sdk compile 'com.facebook.android:facebook-android-sdk:4.7.0' } }  apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { applicationId "com.myapplicationname.app" minSdkVersion 15 tairgetSdkVersion 23 viewsionCode 1 viewsionName "1.0" multiDexEnabled true } //====================Add below two line============= dexOptions { javaMaxHeapSize "4g" //specify the heap size for the dex process preDexLibrairies = false //delete the already pnetworkingxed librairies } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } packagingOptions { exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' } useLibrairy 'org.apache.http.legacy' } dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.0.1' compile 'com.android.support:design:23.0.1' compile 'com.google.android.gms:play-services:8.3.0' compile files('libs/gcm.jair') compile 'com.android.support:multidex:1.0.1' compile 'org.apache.httpcomponents:httpcore:4.4.4' compile('org.apache.httpcomponents:httpmime:4.3.6') { exclude module: "httpclient" } //facebook sdk compile 'com.facebook.android:facebook-android-sdk:4.7.0' compile 'org.apache.httpcomponents:httpcore:4.4.3' compile 'com.paypal.sdk:paypal-android-sdk:2.12.4' //facebook sdk compile 'com.facebook.android:facebook-android-sdk:4.7.0' } }  apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { applicationId "com.myapplicationname.app" minSdkVersion 15 tairgetSdkVersion 23 viewsionCode 1 viewsionName "1.0" multiDexEnabled true } //====================Add below two line============= dexOptions { javaMaxHeapSize "4g" //specify the heap size for the dex process preDexLibrairies = false //delete the already pnetworkingxed librairies } buildTypes { release { minifyEnabled false proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' } } packagingOptions { exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' } useLibrairy 'org.apache.http.legacy' } dependencies { compile fileTree(dir: 'libs', include: ['*.jair']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.0.1' compile 'com.android.support:design:23.0.1' compile 'com.google.android.gms:play-services:8.3.0' compile files('libs/gcm.jair') compile 'com.android.support:multidex:1.0.1' compile 'org.apache.httpcomponents:httpcore:4.4.4' compile('org.apache.httpcomponents:httpmime:4.3.6') { exclude module: "httpclient" } //facebook sdk compile 'com.facebook.android:facebook-android-sdk:4.7.0' compile 'org.apache.httpcomponents:httpcore:4.4.3' compile 'com.paypal.sdk:paypal-android-sdk:2.12.4' //facebook sdk compile 'com.facebook.android:facebook-android-sdk:4.7.0' } 

    A possível solução poderia ser especificair os services de reprodução que você está usando

     compile 'com.google.android.gms:play-services:8.3.0' 

    por exemplo, como:

     compile 'com.google.android.gms:play-services-maps:8.3.0' 

    Isso diminuirá a quantidade total de methods.

    Android is Google's Open Mobile OS, Android APPs Developing is easy if you follow me.