Build Java ver error on Android Studio -


i hoping shed light on following build error when trying launch project in android studio imported form eclipse:

error:execution failed task ':diveapp:dexdebug'. com.android.ide.common.process.processexception: org.gradle.process.internal.execexception: process 'command '/library/java/javavirtualmachines/jdk1.7.0_11.jdk/contents/home/bin/java'' finished non-zero exit value 2

i running on os x yosemite 10.10 , running java 8.0 update 60 (build 1.8.8_60-b27). url above seems reference jdk1.7.0_11jdk, not sure if issue or how check.

cheers

look @ gradle console log, see exact error.

most of time because added same package few times - library different modules or in different places. if not - try clean - rebuild project.

p.s. can change jdk project in file -> project structure

also, there answers question error:execution failed task ':app:dexdebug'. com.android.ide.common.process.processexception


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -