i am getting below error in android studio

0 votes
i am getting below error in android studio

Error:Execution failed for task ':app:dexDebug'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.7.0_67\bin\java.exe'' finished with non-zero exit value 2

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

1 Answer

by (327 points)
selected by
0 votes
Best answer
Looks like some of your Jar files are not added properly to build path. I would suggest you to recheck and make sure dependencies are added properly. Try to removed few Jar file and add it again. Do it one by one, it will help you determine which one is causing problem.