一个dagger问题

1
2
3
4
5
6
7
8
9
10
D:\Project\AS\Label\app\src\main\java\com\tscale\ttouch\label\di\component\AppComponent.java:36: 错误: [Dagger/MissingBinding] [dagger.android.AndroidInjector.inject(T)] com.tscale.ttouch.label.ui.function.FunctionActivity cannot be provided without an @Inject constructor or an @Provides-annotated method. This type supports members injection but cannot be implicitly provided.
public interface AppComponent {
^
A binding with matching key exists in component: com.tscale.ttouch.label.di.builder.ActivityBuilder_BindFunctionActivity.FunctionActivitySubcomponent
com.tscale.ttouch.label.ui.function.FunctionActivity is injected at
com.tscale.ttouch.label.ui.fragment.setting.ad.video.ADVideoFragmentModule.provideGridLayoutManager(activity)
androidx.recyclerview.widget.GridLayoutManager is injected at
com.tscale.ttouch.label.ui.fragment.setting.ad.video.ADVideoFragment.mGridLayoutManager
com.tscale.ttouch.label.ui.fragment.setting.ad.video.ADVideoFragment is injected at
dagger.android.AndroidInjector.inject(T)

这个问题是因为FunctionActivity错误,应该为SettingActivity