GoogleCloudPlatform / gradle-appengine-templates

Freemarker based templates that build with the gradle-appengine-plugin
438 stars 205 forks source link

finished with non-zero exit value 2 #57

Open jdavis649 opened 8 years ago

jdavis649 commented 8 years ago

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 commented 8 years ago

Hi jdavis

You should use

multiDexEnabled true

Into your build.gradle (defaultConfig)

Hugs,

On Thu, Nov 5, 2015 at 8:28 AM jdavis649 notifications@github.com 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 https://github.com/GoogleCloudPlatform/gradle-appengine-templates/issues/57 .

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