(추가사항) 밑에 안드로이드 스튜디오에서 교육예제 lab403-DeviceAPI를 열면 첨부파일과 같은 오류가 발생합니다. 에 대한
- 작성자 :
- 김*길
- 작성일 :
- 2025-01-20 11:46:21
- 조회수 :
- 214
- 구분 :
- 모바일 / 기타
- 진행상태 :
- 완료
Q
Reload Gradle Project를 수행하면
다음과 같은 오류 메시지가 나타납니다.
------------------------
A problem occurred configuring project ':CordovaLib'.
> Could not resolve all files for configuration ':CordovaLib:classpath'.
> Could not find com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3.
Searched in the following locations:
- https://maven.google.com/com/jfrog/bintray/gradle/gradle-bintray-plugin/1.7.3/gradle-bintray-plugin-1.7.3.pom
- https://jcenter.bintray.com/com/jfrog/bintray/gradle/gradle-bintray-plugin/1.7.3/gradle-bintray-plugin-1.7.3.pom
Required by:
project :CordovaLib
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
------------------------
다음과 같은 오류 메시지가 나타납니다.
------------------------
A problem occurred configuring project ':CordovaLib'.
> Could not resolve all files for configuration ':CordovaLib:classpath'.
> Could not find com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3.
Searched in the following locations:
- https://maven.google.com/com/jfrog/bintray/gradle/gradle-bintray-plugin/1.7.3/gradle-bintray-plugin-1.7.3.pom
- https://jcenter.bintray.com/com/jfrog/bintray/gradle/gradle-bintray-plugin/1.7.3/gradle-bintray-plugin-1.7.3.pom
Required by:
project :CordovaLib
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
------------------------
환경정보
-
- OS 정보 : windows 11 Pro / 23H2
- 표준프레임워크 버전 : 4.2.0
- JDK(JRE) 정보 : jdk8u402-b06
- WAS 정보 :
- DB 정보 :
- 기타 환경 정보 :
A
안녕하세요.
표준프레임워크센터입니다.
해당 오류는 jCenter 지원 종료로 라이브러리를 찾지 못해 생기는 오류입니다.
build.gradle(:CordovaLib) 파일의 build script 영역을
해당 코드로 변경해 사용하신 후 재빌드하여 진행해보시기 바랍니다.
수강하신 교육의 공지사항 중 "[DeviceAPI 실습] plugin 관련 에러 해결방법" 에서도 확인하실 수 있습니다.
감사합니다.
표준프레임워크센터입니다.
해당 오류는 jCenter 지원 종료로 라이브러리를 찾지 못해 생기는 오류입니다.
build.gradle(:CordovaLib) 파일의 build script 영역을
해당 코드로 변경해 사용하신 후 재빌드하여 진행해보시기 바랍니다.
buildscript {
repositories {
mavenCentral()
maven { url "https://maven.google.com"}
maven { url "https://plugins.gradle.org/m2/"}
maven { url "https://nexus.web.cern.ch/nexus/content/repositories/public/"}
}
dependencies {
classpath 'com.android.tools.build:gradle:7.4.2'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
}
}
repositories {
mavenCentral()
maven { url "https://maven.google.com"}
maven { url "https://plugins.gradle.org/m2/"}
maven { url "https://nexus.web.cern.ch/nexus/content/repositories/public/"}
}
dependencies {
classpath 'com.android.tools.build:gradle:7.4.2'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
}
}
수강하신 교육의 공지사항 중 "[DeviceAPI 실습] plugin 관련 에러 해결방법" 에서도 확인하실 수 있습니다.
감사합니다.