일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- 애플
- MFA
- 안드로이드
- openssl
- WebAuthn
- SwiftUI
- 앨범북
- 앱스토어
- MYSQL
- FIDO2
- 앱리소스
- kmip
- appres
- OTP
- 2FA
- Xcode
- otpkey
- SSL
- albumbook
- Android
- SWIFT
- Nodejs
- git
- 인증
- OSX
- fido
- MSYS2
- apple
- css
- SSH
Archives
- Today
- Total
인디노트
Android 컴파일시 Duplicate class... found in modules 의 대처법 본문
소스 팁/Java, Android, Kotlin
Android 컴파일시 Duplicate class... found in modules 의 대처법
인디개발자 2022. 10. 9. 21:30안드로이드 스튜디어에서 컴파일시 다음과 같은 형식의 에러가 발생하면...
Duplicate class org.hamcrest.BaseDescription found in modules hamcrest-core-1.1 (org.hamcrest:hamcrest-core:1.1) and junit-4.10 (junit:junit:4.10)
app 레벨의 build.gradle 에 다음 내용과 같이 넣어주면 된다.
android {
.
.
.
configurations.all {
resolutionStrategy.dependencySubstitution {
substitute module('org.hamcrest:hamcrest-core:1.1') with module('junit:junit:4.10')
}
}
.
.
.
}
반응형
'소스 팁 > Java, Android, Kotlin' 카테고리의 다른 글
버튼의 중앙에 글씨는 표시 하려면 (0) | 2022.12.12 |
---|---|
AD_ID (0) | 2022.10.20 |
Android 버전 확인방법 (0) | 2022.08.18 |
Firebase 의 Google Login 기능 개발시 default_web_client_id 는 어디 있을까. (0) | 2021.07.25 |
안드로이드 생체인증 관련 - 구글디벨로퍼 (0) | 2021.07.17 |
Comments