-2

Error Log:

Error:Execution failed for task ':app:dexDebug'. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/usr/lib/jvm/java-8-oracle/bin/java'' finished with non-zero exit value 2
Sikander Bhutto
  • 226
  • 1
  • 11

1 Answers1

0

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
}
Aditya Vyas-Lakhan
  • 13,409
  • 16
  • 61
  • 96