I'm trying to add Room data persistence to an Android project. For some reason, I'm not able to reference room-runtime classes.
Here's the most relevant part of my build.gradle. I've flipped between Room 2.3.4 and 2.0.0, trying to get symbols linking, but so far no luck.
def room_version = "2.0.0"
implementation "androidx.room:room-runtime:$room_version"
annotationProcessor "androidx.room:room-compiler:$room_version"
implementation "androidx.room:room-common:$room_version"
and the rest of the build.gradle
So, as you can see,
import androidx.room.Database;
imports properly. I took a look at the project tab and see that room-common jar imports fine as a .jar, but room-runtime (where Room and RoomDatabase live) are .aar, and their symbols don't resolve:

In external libraries, room-runtime did get downloaded by gradle, but I can't reference its classes:

Any idea on how to fix this? I would have happy to provide more details and screenshots.