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
java.lang.IllegalStateException: Given component holder class com.google.android.samples.socialite.BubbleActivity does not implement interface dagger.hilt.internal.GeneratedComponent or interface dagger.hilt.internal.GeneratedComponentManager
solution:
Add @AndroidEntryPoint annotation
@AndroidEntryPoint
class BubbleActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
val chatId = intent.data?.lastPathSegment?.toLongOrNull()
setContent {
Bubble(chatId = chatId!!)
}
}
}
The text was updated successfully, but these errors were encountered:
I tryed open
BubbleActivity
, but crashing app.Error message is below
solution:
Add
@AndroidEntryPoint
annotationThe text was updated successfully, but these errors were encountered: