https://kotlinlang.org logo
#dagger
Title
# dagger
l

locke

10/12/2018, 1:59 PM
So the Dagger implementation was in this code base before I got here (third day in the code base), and the app was building and deploying successfully. I added DataBinding to an
Activity
refactor, and now am running into these issues where the DataBinding is failing. After a lot of debugging, I discovered that if I remove:
implementation 'com.google.dagger:dagger-android:$project.daggerVersion'
it successfully builds the DataBinding components (while failing on the Android-Dagger specific ones, obviously.) It is worth noting that DataBinding builds fine with the standard Dagger 2 include
implementation "com.google.dagger:dagger:$project.daggerVersion"
, it is only the Android specific module that is failing me I'm not receiving large blocks of errors, but I appreciate that suggestion either way.
g

gildor

10/13/2018, 5:29 PM
Dagger Android and databinding library work without problem on our project. It's really strange that you have this problem. What about dagger-android compiler dependency, do you have it?
3 Views