只需要在项目依赖加入
annotationProcessor'com.google.dagger:dagger-compiler:2.11'
就可以了
原因是因为注解生成器要加入依赖,不然谁去生成是吧
只需要在项目依赖加入
annotationProcessor'com.google.dagger:dagger-compiler:2.11'
就可以了
原因是因为注解生成器要加入依赖,不然谁去生成是吧
本文标题:MVParms引入遇到DaggerMainComponent无法
本文链接:https://www.haomeiwen.com/subject/jodcxqtx.html
网友评论