📱Android/📱 Android (Kotlin)
[Android][kotlin] Execution failed for task ':app:dataBindingMergeDependencyArtifactsDebug'. 오류 해결
MinChan-Youn
2021. 10. 22. 18:26
android Kotlin 프로젝트를 공부하려고 코딩 중 다음과 같은 오류가 나오게 되었다.
문제는 무엇이었을까?
Execution failed for task ':app:dataBindingMergeDependencyArtifactsDebug'.
> Could not resolve all files for configuration ':app:debugCompileClasspath'.
> Could not find com.android.databinding:compiler:3.5.3.
Required by:
project :app
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
* 해결방법
프로젝트 세팅 중복했을 때 오류 발생하는 오류라고 볼 수 있다.
'build.gradle' 파일 or 'imi' 파일 확인
-> build.gradle(Module:app) 의 dependencies 의 중복 선언 확인
중복으로 작성된 compile이 있다면 삭제 후 오류 해결
-> 나 같은 경우는 com.android.databinding:compiler:3.5.3.에 대한 오류가 나왔다고 표시되고 있다.
build.gradle(Module:app)쪽에서 문제가 되는 부분을 삭제 후 다시 컴파일하니 문제가 해결되었다.
반응형