How to fix Java.lang.IllegalStateException: Given component holder class androidx.activity.ComponentActivity does not implement interface dagger.hilt
I have a compose screen and inside my screen, I am initialising my viewmodel. I am trying to write androidTest for this screen. And I am getting above error.