我正在尝试在我的项目中使用Hilt injection。我将依赖项添加到我的build.gradle文件中,然后创建了应用程序基类,该类继承自application (),并用@HiltAndroidApp对其进行了注释。文件: id 'com.android.application' id 'dagger.hilt.android.plugin:hilt
我有不同的模块在我的应用程序中遵循干净的架构,一些是纯kotlin模块和其他android模块,但当我试图编译应用程序时,我得到了重复的类错误。found in modules jetified-hilt-android-2.28.3-alpha-runtime (com.google.dagger:hilt-android:2.28.3-alpha) and jetified-hilt-android-compiler-2.28.3-alpha (c