github에서 다운받은 오픈소스를 열고싶은데 이 오류가 뜹니다.. 도와주세요..ㅠ
조회수 1537회
제가 위클리 앱을 만들어야하는게 있어서 지금 안드로이드 스튜디오로 만들고있는데요
처음으로 오픈소스 써보려는데.. 그냥 zip 파일 풀어서 실행했다가 안되어서 gradle에서 버전정보 바꾸니까 아래같은 오류가 뜨네요..ㅠ
ERROR: Could not find com.android.tools.build:gradle:3.2.1.
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/build/gradle/3.2.1/gradle-3.2.1.pom
https://jcenter.bintray.com/com/android/tools/build/gradle/3.2.1/gradle-3.2.1.jar
Required by:
:Android-Week-View-develop:unspecified
Add Google Maven repository and sync project
Open File
이건 어떻게 해결해야하는 오류일까요..ㅠㅠ 오픈 소스 열고서 gradle에서 버전정보 바꾼거 빼고는 설정 변동한 것은 없습니다..
다음은 오픈소스 프로젝트의 gradle 입니다..
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
version = VERSION_NAME
group = GROUP
repositories {
jcenter()
}
}
-
(•́ ✖ •̀)
알 수 없는 사용자
1 답변
-
작업중인 프로젝트의 gradle에
implementation 'com.github.alamkanak:android-week-view:1.2.6'
한 줄만 추가해서 사용하세요.
댓글 입력