First error after installing the plugin on the new project.
=> Replace this code implementation "androidx.room:room- compiler:2.4.2"
with annotationProcessor "androidx.room:room-compiler:2.4.2" in gradle module (First module);
Second error
Set useAndroidX and enableJetifier to true in the gradle properties files