Skip to content

error: InjectProcessingStep was unable to process 'AppModule(android.content.Context)' because 'AuthTokenDataManagerImpl' could not be resolved. #3393

@sivabe35

Description

@sivabe35

Build successful in Android studio but not in gitlab pipeline failed with following message.

Daggerversion: 2.41
Kotlin : 1.6.21
compileOptions - Java11
build:gradle:7.2


error: InjectProcessingStep was unable to process 'AppModule(android.content.Context)' because 'AuthTokenDataManagerImpl' could not be resolved.
  
  Dependency trace:
      => element (CLASS): com.core.di.module.AppModule
      => element (METHOD): providesAuthTokenDataManager(AuthTokenDataManagerImpl)
      => type (EXECUTABLE method): (AuthTokenDataManagerImpl)com.core.data.datamanager.AuthTokenDataManager
      => type (ERROR parameter type): AuthTokenDataManagerImpl
  
  If type 'AuthTokenDataManagerImpl' is a generated type, check above for compilation errors that may have prevented the type from being generated. Otherwise, ensure that type 'AuthTokenDataManagerImpl' is on your classpath.
error: ModuleProcessingStep was unable to process 'com.core.di.module.AppModule' because 'AuthTokenDataManagerImpl' could not be resolved.
  
  Dependency trace:
      => element (CLASS): com.core.di.module.AppModule
      => element (METHOD): providesAuthTokenDataManager(AuthTokenDataManagerImpl)
      => type (EXECUTABLE method): (AuthTokenDataManagerImpl)com.core.data.datamanager.AuthTokenDataManager
      => type (ERROR parameter type): AuthTokenDataManagerImpl
  
  If type 'AuthTokenDataManagerImpl' is a generated type, check above for compilation errors that may have prevented the type from being generated. Otherwise, ensure that type 'AuthTokenDataManagerImpl' is on your classpath.
error: ComponentProcessingStep was unable to process 'com.core.di.component.AppComponent' because 'AuthTokenDataManagerImpl' could not be resolved.
  
  Dependency trace:
      => element (CLASS): com.core.di.module.AppModule
      => element (METHOD): providesAuthTokenDataManager(AuthTokenDataManagerImpl)
      => type (EXECUTABLE method): (AuthTokenDataManagerImpl)com.core.data.datamanager.AuthTokenDataManager
      => type (ERROR parameter type): AuthTokenDataManagerImpl
  
  If type 'AuthTokenDataManagerImpl' is a generated type, check above for compilation errors that may have prevented the type from being generated. Otherwise, ensure that type 'AuthTokenDataManagerImpl' is on your classpath.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions