![에러: the following options were not recognized by any processor: '[dagger.fastinit, kapt.kotlin.generated]'](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FmGFQt%2FbtsIM9fvanR%2FoYNF9rQJ56Ka7W3aKKIoB1%2Fimg.png)

에러: the following options were not recognized by any processor: '[dagger.fastinit, kapt.kotlin.generated]'개발/Android Studio 에러2024. 7. 25. 16:28
Table of Contents
the following options were not recognized by any processor: '[dagger.fastinit, kapt.kotlin.generated]'
Hilt를 kapt로 적용시키다 발생한 오류다.
아니 오류까진 아니고 경고창에 해당한다.
warning : The following options were not recognized by any processor: '[dagger.fastInit, kapt.kotlin.generated]'
I get this warning when I try to run or build an app in Android Studio. Why am I getting this? Do I need to heed this warning? The following options were not recognized by any processor: '[dagger.
stackoverflow.com
해당 글을 참고하면 해결법을 얻을 수 있다.
kapt 플러그인을 적용시킨 플러그인들 중 최하단에 배치하라는 내용이다.
예를들어 다음과 같이 플러그인을 적용시켜놨다고 치면 kapt를 맨 아래로 내리라는 뜻이다.
// Before
plugins {
alias(libs.plugins.androidApplication)
alias(libs.plugins.jetbrainsKotlinAndroid)
alias(libs.plugins.jetbrainKotlinKapt) // <-- Move this one.
alias(libs.plugins.daggerHiltAndroid)
alias(libs.plugins.composeCompiler)
}
// After
plugins {
alias(libs.plugins.androidApplication)
alias(libs.plugins.jetbrainsKotlinAndroid)
alias(libs.plugins.daggerHiltAndroid)
alias(libs.plugins.composeCompiler)
alias(libs.plugins.jetbrainKotlinKapt) // <-- to last of plugins.
}
'개발 > Android Studio 에러' 카테고리의 다른 글

@스몰스테핑 :: 작은 발걸음
포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!