Kotlin isn’t preserving the names of the arguments properly – this is https://youtrack.jetbrains.com/issue/KT-17959
You can work around this by using :arg0, :arg1, etc, as parameter names in your @Query statements:
@Query("SELECT * FROM countries WHERE id = :arg0")
fun loadCountry(countryId: Int): LiveData<CountryEntity>
@Query("SELECT * FROM countries WHERE id = :arg0")
fun loadCountrySync(countryId: Int): CountryEntity