First of all,
I\'m pretty much aware that a lot of questions on this error had been posted already here, and none of them seems to be having a proper solution especia
Replacing
kapt "android.arch.persistence.room:compiler:$room_version"
by
implementation "androidx.room:room-runtime:$room_version" kapt "androidx.room:room-compiler:$room_version"
might fix it as well.