Android build fails when using dagger 2.18 with kotlin kapt
I am attempting to include in my android project the dagger android processor version 2.18 with kotlin-kapt. I am also using the androidx package structure. I have added all the required dependencies but upon building my project I am getting the below error.
[kapt] An exception occurred: java.util.NoSuchElementException
at com.sun.tools.javac.util.List$2.next(List.java:432)
at com.google.common.collect.Iterators.getOnlyElement(Iterators.java:302)
at...