Skip to content
This repository has been archived by the owner on Sep 17, 2022. It is now read-only.

finished with non-zero exit value 2 #57

Open
jdavis649 opened this issue Nov 5, 2015 · 1 comment
Open

finished with non-zero exit value 2 #57

jdavis649 opened this issue Nov 5, 2015 · 1 comment

Comments

@jdavis649
Copy link

hi, when following this tutorial i cannot finish it because when it come to running my app i recieve the following error:
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_79\bin\java.exe'' finished with non-zero exit value 2

i was wondering as to why this is happening and how do i fix it. i have done some research online as to why this is happening and if what i have read is true then no one would be able to use this.

thanks

@gabeira
Copy link

gabeira commented Nov 5, 2015

Hi jdavis

You should use

multiDexEnabled true

Into your build.gradle (defaultConfig)

Hugs,

On Thu, Nov 5, 2015 at 8:28 AM jdavis649 [email protected] wrote:

hi, when following this tutorial i cannot finish it because when it come
to running my app i recieve the following error:
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_79\bin\java.exe'' finished with non-zero exit value 2

i was wondering as to why this is happening and how do i fix it. i have
done some research online as to why this is happening and if what i have
read is true then no one would be able to use this.

thanks


Reply to this email directly or view it on GitHub
#57
.

Gabriel B. Pereira
[email protected]
+55(92)982482720
Senior Android Engineer / Tech Lead - Samsung SIDIA
Google Developers Group Manaus Organizer
www.gdgmanaus.com.br

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants