App not working at Listing 12.16, Can't register the DAO to the database

Sorry to hear that you are running into issues with Room. That is a common place in which readers have encountered difficulties. My best recommendation is to update the versions of libraries used in the project (see: CrimeDao can't be built witih suspend functions - #5 by bryansillsbnr) but also look through other posts in this forum. Many other people have found solutions to similar problems.