我正在尝试升级旧版本项目以支持SDK 33并在编译时出现此错误。
error: ComponentProcessingStep was unable to process 'com.irokotv.dagger.AppComponent' because 'com.chuckerteam.chucker.api.ChuckerInterceptor' could not be resolved.
Dependency trace:
=> element (CLASS): com.irokotv.logic.dagger.ApiModule
=> element (METHOD): getClient(okhttp3.Interceptor,com.chuckerteam.chucker.api.ChuckerInterceptor)
=> type (EXECUTABLE method): (okhttp3.Interceptor,com.chuckerteam.chucker.api.ChuckerInterceptor)okhttp3.OkHttpClient
=> type (ERROR parameter type): com.chuckerteam.chucker.api.ChuckerInterceptor
If type 'com.chuckerteam.chucker.api.ChuckerInterceptor' is a generated type, check above for compilation errors that may have prevented the type from being generated. Otherwise, ensure that type 'com.chuckerteam.chucker.api.ChuckerInterceptor' is on your classpath.
Run Code Online (Sandbox Code Playgroud)
我已将 kotlin 更新1.3.72为1.7.10
dagger2.27为2.48
tools.build:gradle4.0.1 …