Closed mkubiczek closed 9 months ago
Please find this toy project reproducing the issue: https://github.com/mar3kk/dagger-issue-4063
+1, we ran into the same problem. Thanks for reporting this issue.
Thanks! We have similar reported issues with incremental processing in #4060 and #4054. We're working with the KSP team to determine what the issue is. We'll report back when we have more information.
A quick update on this -- this appears to be an issue with how KSP exposes its output cache during incremental processing. I've filed a bug with the KSP team here: https://github.com/google/ksp/issues/1555.
In the meantime, it is possible to workaround this issue in Dagger until the issue gets resolved in KSP. We should have the fix out this week and hopefully do a release as well.
Getting this during incremental compilation after trying out Dagger 2.48 with ksp in an Android app.
There is a hierarchy of two Activities. Let's say ActivityA extends ActivityB ActivityB extends AppCompatActivity
Both are annotated with
@AndroidEntryPoint
.Initial compilation works fine, but when I change something in ActivityA file and try to compile, I get
When I now modify ActivityB file and run compilation, it again compiles fine.
The full stack trace is as follows: