Skip to content

使用Hilt注解了原MainApplication 打完补丁包报错must be attached to an @HiltAndroidApp Application #1802

Description

@ScFengYi

Android 12
Mumu模拟器
com.android.tools.build:gradle:8.x
tinker版本:1.9.15.2
安装基准包没有问题,在基准包里面进行打补丁升级,重启后会报
Hilt Activity must be attached to an @HiltAndroidApp Application. Found: class com.test.MainApplication

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions