Closed aditmodhvadia closed 4 months ago
Are you using Android Studio to build locally? Or actually the same ./gradlew build
command? I guess there must be some difference regarding dependency configurations.
Closing this issue due to inactivity. :zzz: Feel free to comment with more details or submit a new issue.
Getting an error for DaoSession and DaoMaster is not found when Android CI GitHub action is triggered for a project. I also added ./gradlew greendao before the build command to be sure but it still gives the error. Although it builds successfully on local.
Note: One of the entities uses oneTo relation with Join on others, so it contains DaoSession, and that import also gives the error.
Android CI:
Error:
/home/runner/work/iSolationAlert/iSolationAlert/app/src/main/java/edu/bu/metmobile/isolationalert/database/DaoHelper.java:51: error: cannot find symbol DaoMaster daoMaster = new DaoMaster(db); ^ symbol: class DaoMaster location: class DaoHelper