I have been testing out Dagger 2, and everything had been working, until I did a bit of refactoring. Now gradle is throwing an IllegalArgumentException
, and I canno
This is not yet solved in dependency dagger2.0
still throws IllegalArgumentException
, I agree with @KATHYxx's approach to solve it in dagger2.0
But square has solved the inject
in dagger2.7
version.
So, updating the dependency fixed the issue
implementation "com.google.dagger:dagger:2.7"
apt "com.google.dagger:dagger-compiler:2.7"