daggermaincomponent专题

kotlin与dagger2问题:Unresolved reference: DaggerMainComponent

kotlin项目集成dagger2时遇到: E:\Users\lenovo\MyDagger2\app\src\main\java\com\xq\mydagger2\MainActivity.ktError:(22, 9) Unresolved reference: DaggerMainComponentError:Execution failed for task ':app:compil