赞
踩
升级android studio4.2.2之后,greendao的Entity注解发生错误
implementation 'org.greenrobot:greendao:3.3.0'
org.greenrobot:greendao-gradle-plugin:3.3.0
Found 3 problem(s) parsing "D:\App_winspread\IntelligentStationPhone_BlackBox\base\src\main\java\com\winspread\intelligent\station\base\domain\BlackRecord.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.
Found 3 problem(s) parsing "D:\App_winspread\IntelligentStationPhone_BlackBox\base\src\main\java\com\winspread\intelligent\station\base\domain\BlackRecord.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 @22: Pb(143) Implicit super constructor Object() is undefined. Must explicitly invoke another constructor (ID: 134217871; error: true)
#3 @29: Pb(143) Implicit super constructor Object() is undefined. Must explicitly invoke another constructor (ID: 134217871; error: true)
Execution failed for task ':base:greendao'.
> Found 3 problem(s) parsing "D:\App_winspread\IntelligentStationPhone_BlackBox\base\src\main\java\com\winspread\intelligent\station\base\domain\BlackRecord.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.
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。