Sikander Bhutto Sikander Bhutto - 1 year ago 252
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