0

After a android studio update I can't start my application anymore. Everytime I'm getting this err:

com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/bin/java'' finished with non-zero exit value 2

I tried these solutions:

Android Studio : com.android.ide.common.process.ProcessException:

Can not import Google play service 7.0.0

Still the same error. Anybody knows what I can do?

Community
  • 1
  • 1
user3384194
  • 131
  • 1
  • 1
  • 10
  • I think the problem is using java 7 ,upgrade your jdk to version 8 – sadegh saati Jul 29 '15 at 13:48
  • Done, nothing happens... Same Error, just with "jdk1.8.0_51.jdk" instead of 1.7... Any other idea? – user3384194 Jul 29 '15 at 13:54
  • I really don't have any suggestion more but it seems this is a common error have you looked at these? http://stackoverflow.com/questions/28640314/android-studio-fails-to-debug-with-error-org-gradle-process-internal-execexcepti http://stackoverflow.com/questions/28821614/android-studio-error-org-gradle-process-internal-execexception http://stackoverflow.com/questions/29756188/java-finished-with-non-zero-exit-value-2-android-gradle – sadegh saati Jul 29 '15 at 14:03
  • defaultConfig { multiDexEnabled true } worked for me! thanks @sadeghsaati – user3384194 Jul 29 '15 at 14:12

1 Answers1

0

Answer in the comments above! This worked for me:

defaultConfig {
    multiDexEnabled true
}
user3384194
  • 131
  • 1
  • 1
  • 10