Just in case anyone else encounters this kind of error: usually the actual error is somewhere "upstream" the "Gradle Console" log messages.
Scroll up and you might find the answer or at least the root of your generic error. As the task is "dexDebug", in this case I think it could be a repeated / inconsistent dependency --if you use two different versions of the same dependency in your modules--, or that you exceded the max 65k dex size and need to use the multidex option. There might be other reasons, I guess. Marina PS: I agree with some other members that think OP was a bit rude, but as English is not my first language and I know sometimes I sound "harsh" when translated, I'm giving OP the benefit of doubt :) On Tue, May 12, 2015 at 4:32 AM, Ristar <rista...@gmail.com> wrote: > 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_72\bin\java.exe'' finished with non-zero exit value 3 > > How to fix this? > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-developers+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.