Skip to content

Compile error - ComponentProcessingStep was unable to process from 2.57.2 onwards #5093

@ndeka28

Description

@ndeka28

Hi,

I am having issue compiling my code (multi-module app) after I upgraded to 2.57.2 and onwards. My initial dependency was 2.53.1 . The code compiles for upgrade until version 2.57.1. Here are my other libraries dependency:

Kotlin - 2.2.0
KSP - 2.2.0-2.0.2
AGP - 8.13.2
hilt - 2.57.2
hiltCompiler - 2.57.2

Error

error: ComponentProcessingStep was unable to process 'com.quidco.GroupApplication_HiltComponents.SingletonC' because 'coil3.ImageLoader' could not be resolved.

Here is my code

@EntryPoint
@InstallIn(SingletonComponent::class)
interface Coli3ImageLoaderEntryPoint {
    fun getCoil3ImageLoader(): ImageLoader
}

************************************************

val context = LocalContext.current
val imageLoader =
    EntryPointAccessors.fromApplication(
        context.applicationContext,
        Coli3ImageLoaderEntryPoint::class.java,
    ).getCoil3ImageLoader()

Can anyone please let me know if there any specific handling to be done from 2.57.2 onwards.

Thanks,
Nilanjana

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions