Recently I’ve had the same problem but I was using Coroutines within the Dao function, e.g.:
@Query("SELECT * FROM Dummy")
suspend fun get(): LiveData<List<Dummy>>
And was unable to compile, but after removing the suspend everything worked just fine. It’s not needed when returning LiveData. suspend and LiveData seem not to work together (as of now).