Someone kindly help unable to solve this issue rel...
# random
m
Someone kindly help unable to solve this issue related to use of dagger hilt and roomDB Slack Conversation
k
I don't know anything about dagger hilt or roomDB or Android but... you seem to be looking in the wrong file. The error message refers to RunDAO.java, but you're looking at RunDAO.kt. And why have you got 2 classes of the same name, in the same package, one written in Java and the other in Kotlin?
g
@Klitos Kyriacou It looks to me that
RunDAO.java
is automatically generated as it is placed in
build
directory. But I am not sure what generated it. But I guess Hilt generated it. P.S. I don't know anything about hilt nor roomDB as well.
k
You're right, I hadn't noticed it was in the build directory. I'm not sure if looking at a Kotlin file would be relevant to finding the cause of an error message relating to the generated Java source, but maybe that's just my ignorance of the relevant technologies involved.