JessYanCoding / ArmsComponent

📦 A complete android componentization solution, powered by MVPArms (MVPArms 官方快速组件化方案).
Apache License 2.0
1.69k stars 243 forks source link

使用kotlin找不到Component #8

Closed tangxuesong6 closed 6 years ago

tangxuesong6 commented 6 years ago

通过mvp全家桶新建kotlin活动时,无法找到Component,将dagger的 annotationProcessor rootProject.ext.dependencies["dagger2-compiler"]改为 kapt rootProject.ext.dependencies["dagger2-compiler"]也没有解决

JessYanCoding commented 6 years ago

找不到 Component 和框架没有关系,是没有遵守 Dagger 的配置和规则导致的, 请自己认真学习 Dagger, 并且我也并没有使用 Kotlin 在项目中,只有你自己解决