Set Up The Project | raywenderlich.com


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/18770099-android-animations/lessons/2

I have a problem when I try to compile the project with import dagger.hilt.android.components.ApplicationComponent.

It not recognized, I tried change for import dagger.hilt.android.internal.managers.ApplicationComponentManager
and I keep having problems with the dagger

@dagger.hilt.InstallIn(value = {ApplicationComponent.class})
^
symbol: class ApplicationComponenterror: [Hilt]

I have fixed the problem, I change ApplicationCOmponent to SingletonComponent

Hey @jonmhram!

You can also try building the project (pressing the green hammer) and then see if the ApplicationComponent is available.

Sometimes you first need to build the project to generate the code!

Glad you solved the issue though!