createDebugMainDexClassList issue in Android studio?

Execution failed for task ‘:app:createDebugMainDexClassList’.

com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process ‘command ‘/usr/lib/jvm/java-7-oracle/bin/java’’ finished with non-zero exit value 1

I got this error when i running my app by including appium and other related libraries. I goggled and tried with lot of options but none of them works for me.

Suggestions would be appreciated .

Thanks in advance.