i am trying to compile my android project using my Samsung/Virtual machine , but i am getting the following error:
Error:Execution failed for task ':app:dexDebug'.
> com.android.ide.common.process.ProcessException:
org.gradle.process.internal.ExecException: Process 'command
'/Library/Java/JavaVirtualMachines/jdk1.7.0_60.jdk/Contents/Home/bin/java''
finished with non-zero exit value 2
i couldn't find an answer anywhere, any thoughts please ?