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

请教下各位jenkins构建Android项目,项目中有greendao框架 ,一直构建失败有人知道咋处理吗?[抱拳][抱拳]请教下各位jenkins构建Android项目,项目中有greendao框架 ,一直构建失败有人知道咋处理吗?[抱拳][抱拳] #1018

Closed
hutao1990hu opened this issue Mar 3, 2020 · 3 comments

Comments

@hutao1990hu
Copy link

Task :app:greendaoPrepare

Task :app:greendao FAILED
Found 4 problem(s) parsing "/Users/Shared/Jenkins/Home/workspace/jigongjia/app/src/main/java/com/jizhi/jlongg/db/datacenter/greendao/JgjChangeTotal.java":
#1 @1: Pb(324) The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files (ID: 16777540; error: true)
#2 @1: Pb(324) The type java.lang.String cannot be resolved. It is indirectly referenced from required .class files (ID: 16777540; error: true)
#3 @67: Pb(143) Implicit super constructor Object() is undefined. Must explicitly invoke another constructor (ID: 134217871; error: true)
#4 @86: Pb(143) Implicit super constructor Object() is undefined. Must explicitly invoke another constructor (ID: 134217871; error: true)

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:greendao'.

Found 4 problem(s) parsing "/Users/Shared/Jenkins/Home/workspace/jigongjia/app/src/main/java/com/jizhi/jlongg/db/datacenter/greendao/JgjChangeTotal.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).
Run gradle with --info for more details.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 36s
137 actionable tasks: 137 executed
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
Finished: FAILURE

@greenrobot-team
Copy link
Collaborator

This looks like #1014

@liuzhonghu
Copy link

execute "./gradlew clean installDebug" in your as terminal ,no thanks.

@greenrobot-team
Copy link
Collaborator

Closing this issue due to inactivity. 💤 Feel free to comment with more details or submit a new issue.

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

3 participants