Execution Failed for Task ':App:Dexdebug'. Com.Android.Ide.Common.Process.Processexception: Org.Gradle.Process.Internal.Execexception

Execution failed for task ':app:dexDebug'. com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException

I had got the same error. But I resolved the issue by adding the following missing line from build.gradle in dependencies.
compile 'com.parse.bolts:bolts-android:1.+'

After adding this line, my dependencies body was like this:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:22.0.0'
compile 'com.parse.bolts:bolts-android:1.+'
compile fileTree(dir: 'libs', include: 'Parse-*.jar')
compile fileTree(dir: 'libs', include: "commons-io-2.4.jar") }

You can match with yours too and see if it can help you too

Error:Execution failed for task ':app:dexDebug'. com.android.ide.common.process.ProcessException

Finally I solved this problem by changing compile 'com.google.guava:guava:18.0 ' to compile 'com.google.guava:guava-jdk5:17.0'

Error:Execution failed for task ':app:dexDebug'.

I have figured it out, actually the problem was caused by

compile 'com.firebase:firebase-client-android:2.5.2'

which i have removed since its an old library,
and I think is a duplicate of

compile 'com.google.firebase:firebase-database:9.4.0'

which is the new library since Firebase changed as per point 3 of this article

changed to this:

compile 'com.google.firebase:firebase-database:9.4.0'
compile 'com.google.firebase:firebase-core:9.4.0'
compile 'com.firebaseui:firebase-ui:0.4.4'

Error:Execution failed for task ':app:dexDebug'. com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException

This options may solve the issue

  • Clean The Project
  • Remove all unused dependencies in build.gradle
  • If not solved then Declare this in gradle config.

    defaultConfig {

    multiDexEnabled true

    }



Related Topics



Leave a reply



Submit