Why do you want to inject ComponentActivity? That doesn't make much sense. The compiler says you need to have @Inject in constructor of ComponentActivity, which you cannot do.