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

Fix crash when launching BubbleActivity #24

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Goooler
Copy link
Contributor

@Goooler Goooler commented Feb 15, 2024

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
  at dagger.hilt.EntryPoints.get(EntryPoints.java:62)
  at dagger.hilt.android.internal.lifecycle.HiltViewModelFactory.createInternal(HiltViewModelFactory.java:149)
  at dagger.hilt.android.internal.lifecycle.HiltViewModelFactory.createInternal(HiltViewModelFactory.java:143)
  at androidx.hilt.navigation.HiltViewModelFactory.create(HiltNavBackStackEntry.kt:77)
  at androidx.hilt.navigation.compose.HiltViewModelKt.createHiltViewModelFactory(HiltViewModel.kt:57)
  at com.google.android.samples.socialite.ui.chat.ChatScreenKt.ChatScreen(ChatScreen.kt:531)
  at com.google.android.samples.socialite.ui.BubbleKt$Bubble$1.invoke(Bubble.kt:27)
  at com.google.android.samples.socialite.ui.BubbleKt$Bubble$1.invoke(Bubble.kt:26)
  at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:109)
  at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:35)
  at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:248)

```
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
  at dagger.hilt.EntryPoints.get(EntryPoints.java:62)
  at dagger.hilt.android.internal.lifecycle.HiltViewModelFactory.createInternal(HiltViewModelFactory.java:149)
  at dagger.hilt.android.internal.lifecycle.HiltViewModelFactory.createInternal(HiltViewModelFactory.java:143)
  at androidx.hilt.navigation.HiltViewModelFactory.create(HiltNavBackStackEntry.kt:77)
  at androidx.hilt.navigation.compose.HiltViewModelKt.createHiltViewModelFactory(HiltViewModel.kt:57)
  at com.google.android.samples.socialite.ui.chat.ChatScreenKt.ChatScreen(ChatScreen.kt:531)
  at com.google.android.samples.socialite.ui.BubbleKt$Bubble$1.invoke(Bubble.kt:27)
  at com.google.android.samples.socialite.ui.BubbleKt$Bubble$1.invoke(Bubble.kt:26)
  at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:109)
  at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:35)
  at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:248)
```
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

Successfully merging this pull request may close these issues.

1 participant