Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: [Dagger/MissingBinding] #11

Open
gulcesenyuz opened this issue Feb 24, 2022 · 1 comment
Open

error: [Dagger/MissingBinding] #11

gulcesenyuz opened this issue Feb 24, 2022 · 1 comment

Comments

@gulcesenyuz
Copy link

When it comes to run the app, ı get this issue

Here is the output

/Users/gulcekulahcioglu/AndroidStudioProjects/CleanArchMovie/app/build/generated/source/kapt/debug/com/deepwall/cleanarchmovie/CleanArchMovie_HiltComponents.java:126: error: [Dagger/MissingBinding] com.deepwall.domain.useCase.GetPopularMoviesUseCase cannot be provided without an @Inject constructor or an @Provides-annotated method.
public abstract static class SingletonC implements CleanArchMovie_GeneratedInjector,
^
com.deepwall.domain.useCase.GetPopularMoviesUseCase is injected at
com.deepwall.cleanarchmovie.presentation.screen.home.HomeViewModel(getPopularMoviesUseCase)
com.deepwall.cleanarchmovie.presentation.screen.home.HomeViewModel is injected at
com.deepwall.cleanarchmovie.presentation.screen.home.HomeViewModel_HiltModules.BindsModule.binds(vm)
@dagger.hilt.android.internal.lifecycle.HiltViewModelMap java.util.Map<java.lang.String,javax.inject.Provider<androidx.lifecycle.ViewModel>> is requested at
dagger.hilt.android.internal.lifecycle.HiltViewModelFactory.ViewModelFactoriesEntryPoint.getHiltViewModelMap() [com.deepwall.cleanarchmovie.CleanArchMovie_HiltComponents.SingletonC → com.deepwall.cleanarchmovie.CleanArchMovie_HiltComponents.ActivityRetainedC → com.deepwall.cleanarchmovie.CleanArchMovie_HiltComponents.ViewModelC]

@Farhandroid
Copy link
Owner

Farhandroid commented Feb 24, 2022

Hi,
Sorry for this issue. But can you please clean and rebuild the project? If it still showing this issue please invalidate cache and restart android studio.
I hope this will solve the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants