Why do I get so many errors about Room when I upgrade Kotlin from 1.8.10 to 1.9.0 in an Android Studio project?
The Code A and Code B work well in my Android Studio project when I use Kotlin 1.8.10 (with kotlinCompilerExtensionVersion 1.4.2) and Room 2.5.1. After I upgrade Kotlin from 1.8.10 (with kotlinCompilerExtensionVersion 1.4.2) to 1.9.0 (with kotlinCompilerExtensionVersion '1.5.1'), I get…