plzy의 개발 블로그

error: [ComponentProcessor:MiscError] dagger.internal.codegen.ComponentProcessor was unable to process this class because not all of its dependencies could be resolved. Check for compilation errors or a circular dependency with generated code 해결법 본문

카테고리 없음

error: [ComponentProcessor:MiscError] dagger.internal.codegen.ComponentProcessor was unable to process this class because not all of its dependencies could be resolved. Check for compilation errors or a circular dependency with generated code 해결법

plzyhappy 2022. 1. 22. 02:14

error: [ComponentProcessor:MiscError] dagger.internal.codegen.ComponentProcessor was unable to process this class because not all of its dependencies could be resolved. Check for compilation errors or a circular dependency with generated code

 

 

dagger-hilt 에러이다.

 

나는 이 에러를 4일 동안 해결하지 못했다가

해결했다.

 

 

내가 시도했던 방법은

- app 수준에 있는 이걸 지웠고

configurations { implementation.exclude group: 'org.jetbrains', module: 'annotations' }

- okhttp version을 최신 버전으로 올린 후 빌드 한 후

 

- 이걸 다시 추가했더니 됐다.

configurations { implementation.exclude group: 'org.jetbrains', module: 'annotations' }