Dagger 2.15: Appcomponent - Was Unable To Process This Interface
I cannot build my app with the following error: Task :app:kaptDebugKotlin debug/AppComponent.java:7: error: [ComponentProcessor:MiscError] dagger.internal.codegen.Componen
Solution 1:
I had the exact same code copied from Google sample GitHub and experienced the same problem. The way I solved it, as it turns out, is to clear all other errors in your program, especially those related to the imported modules. So I had problem with my Room database part of the code and had build-time errors. Initially I thought it's unrelated to the AppComponent
error. But after I cleared them, everything was fine. It kind of makes sense, an unsuccessfully built module is a dependency that cannot be resolved
. And probably the compilation errors
in the error message meant errors in general.
Hope this will help you
Post a Comment for "Dagger 2.15: Appcomponent - Was Unable To Process This Interface"