我有不同的模块在我的应用程序中遵循干净的架构,一些是纯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 (com.google.dagg
应用程序一旦安装就会崩溃,并抛出上面奇怪的错误。我已经注释了该活动,如下所示,以及它的子片段。bottomNavigationView.setupWithNavController(navController) } 根据文档,还附加了Application类,Found: class androidx.multidex.MultiDexApplication
at dagger.hilt.android.internal.mana
我在我的项目中使用了Dagger,而且它没有编译。com.example.mikebamb.EquipmentsApplication_HiltComponents' created in the last round
will not be subject to annotation processing.warning: File for type 'dagger.hilt.internal.processedrootsentinel.codegen
最近,我将匕首中的ViewModelInject迁移到@HiltViewModel,我得到了这样的错误。java.lang.RuntimeException:无法创建类io.chativo.chat.viewmodel.TicketViewModel的实例
class TicketViewModelbuild.gradle(app)
// dagger - h
我对“房间”或“idk”有一个问题--实际上问题在哪里,我需要帮助找出问题在哪里,我正在使用Hilt ,创建一个数据库实例的那一刻--它崩溃了--这是我的代码E/AndroidRuntime:ViewModelCImpl$SwitchingProvider.get(DaggerMainApplication_HiltComponents_SingletonC.java:487)
at dagger.hilt.android.internal.lifecycle.HiltViewModelFactoryand