当我添加以下代码时出现错误:
@Singleton @Provides fun provideGson() : Gson { return Gson() }
我真的不知道为什么.
java gson kotlin dagger
dagger ×1
gson ×1
java ×1
kotlin ×1