kotlin
Android Hilt injection not performed
Android.*Hilt.*IllegalStateException.*has not been.*injected
Fixes
- 1.Annotate Activity/Fragment with @AndroidEntryPoint
- 2.Ensure Application class has @HiltAndroidApp annotation
- 3.Check that Hilt Gradle plugin is applied: id 'dagger.hilt.android.plugin'
androidhiltdependency-injection
Related Errors
kotlin3 fixes
Jetpack Compose vertical scroll with infinite constraints
Android.*Compose.*IllegalStateException.*Vertically scrollable.*was measured with.*infinite.*constraints
- •Don't nest vertically scrollable components (LazyColumn in Column with scroll)
- •Use height(IntrinsicSize.Min) or explicit height modifier
kotlin3 fixes
Android Room migration incomplete
Android.*Room.*IllegalStateException.*Migration.*didn't properly handle
- •Ensure migration SQL covers all schema changes between versions
- •Use autoMigrations in @Database annotation for simple changes
kotlin3 fixes
Android R8/ProGuard missing class after obfuscation
Android.*R8.*Warning.*Missing class.*referenced from
- •Add -keep rule in proguard-rules.pro for the missing class
- •Add -dontwarn for expected missing classes (e.g., optional dependencies)