Good day everyone:android-wave:, I am trying to us...
# k2-adopters
e
Good day everyone👋, I am trying to use the K2 in my project, I enable it in
gradle.properties
,
kotlin.experimental.tryK2=true
and it also uses kapt, so I also use the
kapt.use.k2=true
, when I rebuild an error appear
error: abstract method clear() in KeyValueDao cannot be accessed directly KeyValueDao.super.clear();
In my Dao file:
Copy code
@Transaction
fun clear() {
    clearInts()
    clearDoubles()
    clearBooleans()
    clearStrings()
}
In K1, there is no error. Did I miss something?kodee sad
t
are you using Kotlin 2.0.0 release?
e
No, I am using the
kotlin.experimental.tryK2
t
then better to not enable kapt k2 - it was not very stable in that release
🫡 1