Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Build fails using Java 7 #4

Open
af608 opened this issue Jun 18, 2015 · 1 comment
Open

Build fails using Java 7 #4

af608 opened this issue Jun 18, 2015 · 1 comment

Comments

@af608
Copy link

af608 commented Jun 18, 2015

Works now with Java 8, but fails with Java 7:

Execution failed for task ':app:compileDebugJavaWithJavac'.
java.lang.EnumConstantNotPresentException: javax.lang.model.SourceVersion.RELEASE_8

@a-frank
Copy link
Collaborator

a-frank commented Jun 19, 2015

I was trying the newest version with

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
as well as a JDK7 to compile my Android app. It compiled with no errors.
Could you please provide further information about your project setup?

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