반응형
- 구현 코드
build.gradle [app]
dependencies {
// chart
implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
}
- 상황
1. app 단의 build.gradle에 setup
2. Rebuild Project Fail -- Error --
- 에러 내용 간략화 ( 접은글 상세 )
Could not find com.github.PhilJay:MPAndroidChart:v3.1.0.
더보기
Could not find com.github.PhilJay:MPAndroidChart:v3.1.0.
Required by:
project :app
Search in build.gradle files
- 해결
개발자 github 계정에 나온 Gradle Setup 처럼 maven url 추가
https://github.com/PhilJay/MPAndroidChart?tab=readme-ov-file
settings.gradle
dependencyResolutionManagement {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
반응형
'오류 해결' 카테고리의 다른 글
[Android] 갤러리 사진 선택 - DecodeException: Input was incomplete (0) | 2023.12.12 |
---|---|
[Android] Room Bitmap 사용하기 - Canvas: trying to draw too large bitmap Error (0) | 2023.12.11 |