Ah, I just noticed that it complains about a different component. I was injecting two separate modules into the same activity and it seems each one of them wanted to inject ALL fields that were annotated with
@Inject
instead of only the ones that were contained in that module. So the Foo module worked. Guess I should put all dependencies into one big module?