[error] Duplicate class org.intellij.lang.annotations.Identifier found in modules annotations-12.0 and annotations-23.0 Error While Running Android App

문돌이 개발자·2024년 3월 12일

https://stackoverflow.com/questions/78069665/duplicate-class-org-intellij-lang-annotations-identifier-found-in-modules-annota
에 따르면 Room과 Compose Library에서 사용하는 Annotation에서 같은 이름이 존재해서 문제가 발생한 듯하다.

gradle에

configurations.implementation{
    exclude(group = "com.intellij", module = "annotations")
}

를 추가해주었다. Compose를 써야하니까..
Room도 써야하면 Annotation을 따로 정의해야 하나?

profile
까먹고 다시 보려고 남기는 기록

0개의 댓글