Android 用于代码生成的ANTLR工具版本4.5.3与当前运行时版本4.7.1ANTLR不匹配

Android 用于代码生成的ANTLR工具版本4.5.3与当前运行时版本4.7.1ANTLR不匹配,android,android-studio,dependency-injection,data-binding,dagger-hilt,Android,Android Studio,Dependency Injection,Data Binding,Dagger Hilt,我在构建项目时遇到此错误: 用于代码生成的ANTLR工具版本4.5.3与用于解析器编译的当前运行时版本4.7.1ANTLR运行时版本4.5.3不匹配用于代码生成的当前运行时版本4.7.1ANTLR工具版本4.5.3与用于解析器的当前运行时版本4.7.1ANTLR运行时版本4.5.3不匹配编译与当前运行时版本4.7.1不匹配错误:[Hilt] @DefineComponent dagger.hilt.components.SingletonComponent缺少父声明。 请声明父级,例如:@Def

我在构建项目时遇到此错误:
用于代码生成的ANTLR工具版本4.5.3与用于解析器编译的当前运行时版本4.7.1ANTLR运行时版本4.5.3不匹配用于代码生成的当前运行时版本4.7.1ANTLR工具版本4.5.3与用于解析器的当前运行时版本4.7.1ANTLR运行时版本4.5.3不匹配编译与当前运行时版本4.7.1不匹配错误:[Hilt] @DefineComponent dagger.hilt.components.SingletonComponent缺少父声明。 请声明父级,例如:@DefineComponent(parent=ApplicationComponent.class) [Hilt]处理未完成。有关详细信息,请参见上面的错误。错误:[Hilt] @DefineComponent dagger.hilt.components.SingletonComponent缺少父声明。 请声明父级,例如:@DefineComponent(parent=ApplicationComponent.class) [Hilt]处理未完成。有关详细信息,请参阅上面的错误。[警告]已请求增量注释处理,但由于以下处理器不是增量的,因此禁用了支持:androidx.room.RoomProcessor(动态)
在代码中,我没有使用这个房间库
代码网络模块:

@Module
@InstallIn(SingletonComponent::class)
object NetworkModule {

    @Singleton
    @Provides
    fun provideHttpClient(): OkHttpClient {
        return OkHttpClient.Builder()
            .readTimeout(15, TimeUnit.SECONDS)
            .connectTimeout(15, TimeUnit.SECONDS)
            .build()
    }

    @Singleton
    @Provides
    fun provideConverterFactory(): GsonConverterFactory {
        return GsonConverterFactory.create()
    }

    @Singleton
    @Provides
    fun provideRetrofitInstance(
        okHttpClient: OkHttpClient,
        gsonConverterFactory: GsonConverterFactory
    ): Retrofit {
        return Retrofit.Builder()
            .baseUrl(BASE_URL)
            .client(okHttpClient)
            .addConverterFactory(gsonConverterFactory)
            .build()
    }


    @Singleton
    @Provides
    fun provideApiService(retrofit: Retrofit): FoodRecipesApi {
        return  retrofit.create(FoodRecipesApi::class.java)
    }
}