You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: java.util.Map<java.lang.Class<? extends android.app.Activity>,javax.inject.Provider<com.example.di.ActivityComponentBuilder>> cannot be provided without an @Provides- or @Produces-annotated method.
The text was updated successfully, but these errors were encountered:
I am getting this error in multi-module architecture application.
My core module has component and subcomponent with builder pattern implemented and MyApplication class has Map field with provider for builders.
My app module has AppMainApplication class extending from MyApplication .
I am getting this error:
Error:(12, 24) error: java.util.Map<java.lang.Class<? extends android.app.Activity>,javax.inject.Provider<multibinding.demo.com.core.di.activity.ActivityComponentBuilder>> cannot be provided without an @Provides- or @Produces-annotated method.
java.util.Map<java.lang.Class<? extends android.app.Activity>,javax.inject.Provider<multibinding.demo.com.core.di.activity.ActivityComponentBuilder>> is injected at
multibinding.demo.com.core.MyApplication.activityComponentBuilders
multibinding.demo.com.multibindingsubcomponentbuilderdemo.AppMainApplication is injected at
multibinding.demo.com.multibindingsubcomponentbuilderdemo.SecondComponent.inject(application)
I am getting below error
error: java.util.Map<java.lang.Class<? extends android.app.Activity>,javax.inject.Provider<com.example.di.ActivityComponentBuilder>> cannot be provided without an @Provides- or @Produces-annotated method.
The text was updated successfully, but these errors were encountered: