일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 다시 정리해야함
- 다시정리하기
- Filter
- array랑 list
- 알고리즘 인증_1주차
- 코딩테스트
- 코틀린
- iPortfolio
- 알고리즘 인증
- foldindexed
- recyclerview
- 취준기록
- 알고리즘 인증_2주차
- filternot
- 다시봐
- Today
- Total
Moments of growth
jitpack.io 추가 오류 본문
https://github.com/prolificinteractive/material-calendarview
GitHub - prolificinteractive/material-calendarview: A Material design back port of Android's CalendarView
A Material design back port of Android's CalendarView - GitHub - prolificinteractive/material-calendarview: A Material design back port of Android's CalendarView
github.com
위의 material-calendarview를 구현해보기 위해 제일 처음 단계인 jitpack.io를 설치하려고 했다.
Step 1. Add the JitPack repository to your build file
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
여기서 jitpack.io를 프로젝트 단위의 build.gradle에서 추가하는데 오류가 났다.
나와 같은 문제를 발견했고 참고 사이트의 해결방법 1을 통해 간단히 해결할 수 있었다.
Arctic Fox 버전 이후에 생성된 프로젝트는 build.gradle이 아닌 settings.gradle에 추가하면 해결완료다.
참고 사이트)
https://ideajini.tistory.com/15
[안드로이드] Android studio Arctic Fox 버전 이후 gradle allprojects 추가방법
안드로이드 스튜디오 버전을 업데이트하고 신규 프로젝트파일을 생성했습니다. 라이브러리 추가가 필요해서 jcenter와 jitpack.io 레포지토리 등록을 평소처럼 프로젝트 단위의 build.gradle에서 추가
ideajini.tistory.com