Error:Execution failed for task \':app:dexDebug\'.
com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process
It is not clear when you got this problem, but I was having a similar problem trying to do a unit test in Android Studio.
My problem was with one of my dependencies (androidannotation). When I removed it, my tests worked well.