当我添加以下代码时出现错误:
@Singleton @Provides fun provideGson() : Gson { return Gson() }
我真的不知道为什么。
将 Dagger 更新到 2.12(从 2.8)后一切正常