https://kotlinlang.org logo
Title
z

zsperske

06/30/2022, 8:12 PM
I was trying to update to Kotlin
1.7.0
yesterday and Room started giving me issues
error: Each bind variable in the query must have a matching method parameter. Cannot find method parameters for :expiringDate. - com.project.MyDao.getAll(java.util.Date)
error: Unused parameter: arg0 - com.project.MyDao.getAll(java.util.Date)
I tried disabling incremental room with no effect, only updating to the newest Room alpha fixed the issue (which isn’t an option for us, we don’t use alphas)
h

Halex

07/04/2022, 12:04 PM
Had the same problem with the same solution...
z

zsperske

07/12/2022, 3:54 PM