Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Could not find com.romandanylyk:pageindicatorview:1.0.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/romandanylyk/pageindicatorview/1.0.0/pageindicatorview-1.0.0.pom
- https://repo.maven.apache.org/maven2/com/romandanylyk/pageindicatorview/1.0.0/pageindicatorview-1.0.0.pom
- https://jitpack.io/com/romandanylyk/pageindicatorview/1.0.0/pageindicatorview-1.0.0.pom
- https://maven.google.com/com/romandanylyk/pageindicatorview/1.0.0/pageindicatorview-1.0.0.pom
Required by:
project :app
> Could not find :libSmartCare-1.0.10:.
Required by:
project :app
> Could not find :iweightlibrary-release:.
Required by:
project :app
> Could not find :ICDeviceManager_1_0_5_build12:.
Required by:
project :app
> Could not find :Lib_WheelView-release:.
Required by:
project :app
> Could not find :wristband-release_v1.0.9:.
Required by:
project :app
> Could not find :Lib_BluetoothLe-release_v1.0.8:.
Required by:
project :app
> Could not find :Lib_DFU-release_v1.0.8:.
Required by:
project :app
> Could not find :parallaxviewpager-release:.
Required by:
project :app
> Could not find :libSmartCom-1.4.0:.
Required by:
project :app
> Could not find :libMicroCom-GmateAllRelease-1.2.8:.
Required by:
project :app
> Could not find :libBleCom-0.0.4:.
Required by:
project :app
> Could not find :libConnectCom-0.0.4:.
Required by:
project :app
해당 오류 메시지와 함께 프로젝트 빌드가 되지 않았다.
내가 했던 행동은 라이브러리와 dependencies의 버전 업데이트
버전을 다시 낮추고 편안한 마음을 가져볼까 했지만, 그렇게 도망쳐서야 배울 수 없고, 회피하는 습관을 만들기 싫어 버전을 업데이트하고 돌아가게 만들어보기로 마음먹었다.
구글링을 하다보니 이런게 있었다.
allprojects {
repositories {
google()
mavenCentral()
maven {
url "https://jitpack.io"
}
maven {
url 'https://maven.google.com/'
}
}
}
해당 코드 mavenCentral()의 위치를 바꾸어 보았다.
allprojects {
repositories {
google()
maven {
url "https://jitpack.io"
}
maven {
url 'https://maven.google.com/'
}
mavenCentral()
}
}
이렇게.
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve :libSmartCom-1.4.0.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve :libMicroCom-GmateAllRelease-1.2.8.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve :ICDeviceManager_1_0_5_build12.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve :Lib_WheelView-release.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve :parallaxviewpager-release.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve :libSmartCare-1.0.10.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve :wristband-release_v1.0.9.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve :iweightlibrary-release.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve :ICDeviceManager_1_0_5_build12.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve :libSmartCom-1.4.0.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve :libBleCom-0.0.4.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve :libSmartCom-1.4.0.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve :parallaxviewpager-release.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve :ICDeviceManager_1_0_5_build12.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve :libSmartCare-1.0.10.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve :libMicroCom-GmateAllRelease-1.2.8.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve :libBleCom-0.0.4.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve :Lib_BluetoothLe-release_v1.0.8.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve :wristband-release_v1.0.9.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve :Lib_DFU-release_v1.0.8.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve :iweightlibrary-release.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve :Lib_WheelView-release.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve :libConnectCom-0.0.4.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve :libBleCom-0.0.4.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve :libMicroCom-GmateAllRelease-1.2.8.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve :libConnectCom-0.0.4.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve :Lib_BluetoothLe-release_v1.0.8.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve :iweightlibrary-release.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve :Lib_WheelView-release.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve :parallaxviewpager-release.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve :Lib_BluetoothLe-release_v1.0.8.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve :Lib_DFU-release_v1.0.8.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve :libConnectCom-0.0.4.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve :libSmartCare-1.0.10.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve :Lib_DFU-release_v1.0.8.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve :wristband-release_v1.0.9.
Show Details
Affected Modules: app
Failed to resolve: com.romandanylyk:pageindicatorview:1.0.0
Show in Project Structure dialog
Affected Modules: app
오류 메시지가 변경되었다. 여전히 안된다.
구글링 하다 이것도 발견하였다.
jitpack.io앞에 www.를 붙이는것
allprojects {
repositories {
google()
maven {
url "https://www.jitpack.io"
}
maven {
url 'https://maven.google.com/'
}
mavenCentral()
}
}
오류 메시지가 상당히 달라졌다.
Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'.
Could not determine artifacts for com.github.lzyzsd:circleprogress:1.2.1: Skipped due to earlier error
저의 경우 Terminal에서 아래의 명령어를 실행했을 때,
gradle --version
코틀린 버전이 1.7.10으로 나왔습니다.(Kotlin: 1.7.10)
build.gradle을 실행 할때는 코틀린 1.7.21 버전을 plugins로 사용해서 문제가 생긴듯 한데요.
프로젝트 경로하에 build.gradle.kts파일에서 plugins 안에 kotlin 버전을 수정하여 문제가 해결됐습니다.
kotlin("jvm") version "1.7.21" -> kotlin("jvm") version "1.7.10"
안녕하세요! 혹시 오류 해결하셨는지요? ㅠㅠ