When I bumped up Kotlin version to 1.2.70, my builds started failing with an error:
e: Supertypes of the following classes cannot be resolved. Please make sure you have the required dependencies in the classpath:
class com.my.app.db.AppDatabase, unresolved supertypes: androidx.room.RoomDatabase
I tried cleaning cache (clean cache from AS menu, Invalidate cache & Restart, then rm -rf build folders in the project) but the error didn't go away.
Then I downgraded to previous kotlin version I had (1.2.61) and now it builds successfully.
My Room version: 2.0.0-rc01 (androidx)