huzit
___을 입력해주세요
huzit
전체 방문자
  • 분류 전체보기 (137)
    • 안드로이드(Compose) (10)
      • UI (4)
      • 개념 (6)
    • 안드로이드 (50)
      • 기본개념 (6)
      • 응용 (4)
      • Debug (18)
      • Binding (3)
      • RecyclerView (5)
      • Firebase (6)
      • Retrofit (1)
      • Activity & Fragment (4)
    • 코틀린 (22)
    • 코딩테스트 (38)
      • 백준 (10)
      • 프로그래머스 (28)
    • 일상 (6)
    • CS 지식 (4)
    • 라즈베리파이 (7)

블로그 메뉴

  • 홈
  • 태그
  • 글쓰기
  • 관리

공지사항

인기 글

태그

  • 브레빌 밤비노 플러스
  • docker
  • RecyclerView
  • gts4mini
  • recyclerView ClickEvent
  • Debug
  • 공돌카돈
  • firebase
  • IFTTT
  • compose
  • Android
  • 라즈베리 파이
  • 공돌이파파
  • 프로그래머스
  • Java
  • 코틀린
  • Retrofit
  • Kotlin
  • FCM
  • jetpack

최근 댓글

최근 글

티스토리

hELLO · Designed By 정상우.
huzit

___을 입력해주세요

Duplicate class kotlin.collections.jdk8.CollectionsJDK8Kt found in modules kotlin-stdlib-1.8.10 (org.jetbrains.kotlin:kotlin-stdlib:1.8.10) and kotlin-stdlib-jdk8-1.7.20 (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.20)
안드로이드/Debug

Duplicate class kotlin.collections.jdk8.CollectionsJDK8Kt found in modules kotlin-stdlib-1.8.10 (org.jetbrains.kotlin:kotlin-stdlib:1.8.10) and kotlin-stdlib-jdk8-1.7.20 (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.20)

2023. 5. 25. 10:19
728x90

원인

의존성 문제이거나 코틀린 버전 문제 중 하나

해결

프로젝트 build.gradle의 코틀린 버전을 변경

id 'org.jetbrains.kotlin.android' version '1.7.20' apply false

아래로 변경

id 'org.jetbrains.kotlin.android' version '1.8.10' apply false

버전에 맞춰서 코틀린 컴파일러도 변경

아래 사이트 참고

https://developer.android.com/jetpack/androidx/releases/compose-kotlin

728x90
저작자표시 (새창열림)

'안드로이드 > Debug' 카테고리의 다른 글

Room cannot verify the data integrity. Looks like you've changed schema but forgot to update the version number.  (0) 2023.06.12
Cannot figure out how to save this field into database. You can consider adding a type converter for it.  (0) 2023.06.12
java.lang.NullPointerException: null cannot be cast to non-null type androidx.navigation.fragment.NavHostFragment  (0) 2023.04.18
RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{dcc7ca6 u0 com.***.***/.ble.BleService}  (0) 2023.04.13
--- Failed to create image decoder with message 'unimplemented'  (0) 2023.04.10
    '안드로이드/Debug' 카테고리의 다른 글
    • Room cannot verify the data integrity. Looks like you've changed schema but forgot to update the version number.
    • Cannot figure out how to save this field into database. You can consider adding a type converter for it.
    • java.lang.NullPointerException: null cannot be cast to non-null type androidx.navigation.fragment.NavHostFragment
    • RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{dcc7ca6 u0 com.***.***/.ble.BleService}
    huzit
    huzit
    simple is best

    티스토리툴바