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

Parsing fails when using JDK 9 or newer #1014

Closed
shikefei89 opened this issue Feb 17, 2020 · 2 comments
Closed

Parsing fails when using JDK 9 or newer #1014

shikefei89 opened this issue Feb 17, 2020 · 2 comments
Milestone

Comments

@shikefei89
Copy link

shikefei89 commented Feb 17, 2020

evn:Mac idea jdk11 greenDao3.2.2.
It can not generate code.
It works well in windows same environment but jdk8.

there is log:
Execution failed for task ':app:greendao'.

Found 8 problem(s) parsing "/Users/paul/Documents/Android/x-x-android/app/src/main/java/com/x/x/test/x.java". First problem:
Pb(324) The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files (16777540 at line 1).

help me.

@greenrobot-team
Copy link
Collaborator

JDK 11 is not supported by greenDAO (or the Android plugin), make sure to use JDK 8.

@greenrobot-team
Copy link
Collaborator

3.3.0 has been released which should fix this issue.
https://greenrobot.org/greendao/changelog/

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