Skip to content

I want to create a simple project without complex configuration, but I encountered Hilt errors. #2101

@KaiXuan666

Description

@KaiXuan666

I don’t want to use custom plugins, so I manually copied all the Hilt-related dependencies. Some classes were generated correctly, but runtime errors occurred:

ComponentTreeDeps.java:14: error: cannot find symbol
@ComponentTreeDeps(
\app\build\generated\hilt\component_trees\debug\dagger\hilt\internal\processedrootsentinel\codegen_com_ikukan_yuansheng_YSApplication.java:3: error: cannot find symbol
import dagger.hilt.internal.processedrootsentinel.ProcessedRootSentinel;
^
symbol: class ProcessedRootSentinel
location: package dagger.hilt.internal.processedrootsentinel

YuanSheng.zip

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