Sikander Bhutto Sikander Bhutto - 5 months ago 76x
Java Question

Execution failed for task ‘:app:dexDebug’. org.gradle.process.internal.ExecException

Error Log:

Error:Execution failed for task ':app:dexDebug'. > org.gradle.process.internal.ExecException: Process 'command '/usr/lib/jvm/java-8-oracle/bin/java'' finished with non-zero exit value 2


If you have libraries and methods, then you can enable multi dex support by declaring it in the gradle config.

defaultConfig {        
    // Enabling multidex support.
    multiDexEnabled true