본문 바로가기

개발 노트/Kotlin

[에러] hiltAggregateDepsDebug 에러

https://ovso.tistory.com/475

 

[안드로이드] hiltAggregateDepsDebug 에러

에러 FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:hiltAggregateDepsDebug'. > A failure occurred while executing dagger.hilt.android.plugin.task.AggregateDepsTask$WorkerAction > 'java.lang.String com.squareup

ovso.tistory.com

 

 

hilt 사용하면서 한번도 이런 오류가 난적이 없었는데 갑자기 이런오류가 발생했다..

처음엔 hilt관련된 오류인줄도 몰랐다.

 

 

[해결]

모듈수준의 build.gradle에서 아래코드를 추가해주자

hilt{
    enableAggregatingTask = false
}