When creating my contact DAO and related classes, I am getting the following error:
The query returns some columns [mContactId, mAddress, mPostcode, mCity, mCoun
It's say very clear: You can use @ColumnInfo annotation on the fields to specify the mapping.
@ColumnInfo
Change your code like this:
@NonNull @PrimaryKey @ColumnInfo(name = "id") private String id;
More at codelab: https://codelabs.developers.google.com/codelabs/android-room-with-a-view/#0