I’m getting an error when compiling the Criminal Intent app after adding the database (p223 in the book). I’m pretty sure this is caused by me mistyping something, but I can’t find it. The error I get is below: can anyone offer any advice about how to resolve this? Note that the error is detected in the autogenerated java file, not the kotlin source.
/Users/kae/AndroidStudioProjects/CriminalIntent/app/build/tmp/kapt3/stubs/debug/com/bignerdranch/android/criminalintent/database/CrimeDatabase.java:11: error: cannot find symbol
public abstract CrimeDao crimeDao();
^
symbol: class CrimeDao
location: class CrimeDatabase/Users/kae/AndroidStudioProjects/CriminalIntent/app/build/tmp/kapt3/stubs/debug/com/bignerdranch/android/criminalintent/CrimeRepository.java:8: error: cannot find symbol
private final CrimeDao crimeDao = null;
^
symbol: class CrimeDao
location: class CrimeRepository/Users/kae/AndroidStudioProjects/CriminalIntent/app/build/tmp/kapt3/stubs/debug/com/bignerdranch/android/criminalintent/database/CrimeDatabase.java:8: error: [RoomProcessor:MiscError] androidx.room.RoomProcessor was unable to process this class because not all of its dependencies could be resolved. Check for compilation errors or a circular dependency with generated code.