greenrobot / greenDAO

greenDAO is a light & fast ORM solution for Android that maps objects to SQLite databases.
http://greenrobot.org/greendao/
12.63k stars 2.89k forks source link

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

Closed hutao1990hu closed 3 years ago

hutao1990hu commented 4 years ago

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.

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 commented 4 years ago

This looks like #1014

liuzhonghu commented 3 years ago

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

greenrobot-team commented 3 years ago

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