JsonChao / Awesome-WanAndroid

:zap:致力于打造一款极致体验的 http://www.wanandroid.com/ 客户端,知识和美是可以并存的哦QAQn(*≧▽≦*)n
Apache License 2.0
2.73k stars 605 forks source link

dagger2在AndroidX如何使用 #121

Open hanwentong opened 3 years ago

hanwentong commented 3 years ago

dagger2的版本修改为2.19,项目就运行不起来了,提示错误如下: 错误: [ComponentProcessor:MiscError] dagger.internal.codegen.ComponentProcessor was unable to process this interface because not all of its dependencies could be resolved. Check for compilation errors or a circular dependency with generated code. public interface AppComponent { ^

hanwentong commented 3 years ago

如果使用原项目的dagger2版本2.15,则fragmentationx使用不了