google / dagger

A fast dependency injector for Android and Java.
https://dagger.dev
Apache License 2.0
17.42k stars 2.01k forks source link

How to use dagger2 with android make (android.mk) when developing rom apps. #672

Closed LitterSun closed 7 years ago

LitterSun commented 7 years ago

when develop the custom android ROM, the build system using android.mk to build every app, can we using dagger2 with this ?
ERROR: /apps/MyApp/app/src/main/java/com/test/view/AppApplication.java:7: The import com.test.di.DaggerAppComponent cannot be resolved ERROR: /apps/MyApp/app/src/main/java/com/test/view/AppApplication.java:19: DaggerAppComponent cannot be resolved

ronshapiro commented 7 years ago

Please ask on stack overflow