Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error:Execution failed for task ':app:compileDebugJava'. #5

Open
xxmbaobao opened this issue Jun 27, 2015 · 3 comments
Open

Error:Execution failed for task ':app:compileDebugJava'. #5

xxmbaobao opened this issue Jun 27, 2015 · 3 comments

Comments

@xxmbaobao
Copy link

when i run this app,with the following poroblems,my jdk version is 1.7,what should i do ? thanks
ps:retrolambda need jdk version 1.8?

Error:Execution failed for task ':app:compileDebugJava'.

When running gradle with java 6 or 7, you must set the path to jdk8, either with property retrolambda.jdk or environment variable JAVA8_HOME

@bakeny
Copy link

bakeny commented Jul 20, 2015

Yes,me too,how to fix it?

@yinpeng633
Copy link

adding to build.gradle (app module):

retrolambda {
jdk 'C:\Program Files\Java\jdk1.8.0_65' // Or whatever path you have
}

@joginder89
Copy link

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

No branches or pull requests

4 participants