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

./gradlew build Errors Execution failed for task ':model:compileJava'. > Could not target platform: 'Java SE 11' using tool chain: 'JDK 8 (1.8)' #73

Closed
rockie12us opened this issue Nov 20, 2020 · 2 comments

Comments

@rockie12us
Copy link

.gradlew build errors with
Execution failed for task ':model:compileJava'. > Could not target platform: 'Java SE 11' using tool chain: 'JDK 8 (1.8)'

Where can the target be changed?

@rockie12us
Copy link
Author

To fix this, I had to download jdk11 from https://dzone.com/articles/installing-openjdk-11-on-macos

Then the steps of ./gradlew build and ./gradlew jar worked.
I imported the .jar file into the libs folder and then right clicked on it and update gradle dependencies or something like that and it updated the app.

Might we somehow include these steps in the git hub readme?

@robevansuk
Copy link
Collaborator

this is a compatibility issue. Not a problem that is likely to be fixed in this repo

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

2 participants