Closed nuhkoca closed 1 year ago
The problem is that the processor uses the room compiler library (https://maven.google.com/web/index.html?q=room#androidx.room:room-compiler-processing) and that unfortunately occasionally has breaking changes between version, which means all annotation processors you use need to be on the same version.
With Epoxy 5.1.1 we are using version 2.5.0-beta01 (https://github.com/airbnb/epoxy/blob/master/blessedDeps.gradle#L58). Are you using room, or other annotation processors? Make sure they are using the same version - if you are just using Room then use room version 2.5.0-beta01 and it should work
We don't use Room, only Dagger and not sure if it causes
Dagger uses the same compiler processing library from Room. The latest dagger release should work. related - https://github.com/google/dagger/issues/3633
@elihart Yes upgrading Dagger
to the latest version works but this time generated code breaks. Please note I still use KAPT
. 5.1.0
works fine but 5.1.1
fails with below
/path/to/file/X.kt: (21, 17): Unresolved reference: id)
Do you know why?
No, I can't tell anything from that snippet
Hello,
When I try to update
Epoxy
to5.1.1
I am getting the exception below. I usekapt
notksp
, do I have to switch toksp
? But5.0.0
works with no problem. What's exactly changed between5.0.0
and5.1.1
?I think this one causes in 5.1.0