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

#1802 · open · 1 comments

View on GitHub ↗

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

Comments

ScFengYi

有大佬知道tinker 如何跟Hilt兼容吗