I\'m configuring the new Dagger Android module but I got this error Here\'s my Component:
@AppScope @Component(modules = {AppModule.class, NetModule.class})
In my case I was using an object Module, so I had to annotate provider method with @JvmStatic
@Module object GsonModule { @JvmStatic @Singleton @Provides fun provideGson() = Gson() }