내 Android 애플리케이션에서 Google지도 활동을 사용하는 중에이 오류가 발생합니다.'com.google.android.gms : play-services : 11.8.0'버전의 캐시를 사용할 수 없습니다.
"com.google.android.gms : play-services : 11.8.0을 해결할 수 없습니다."
프로젝트 수준 Gradle을 파일 :
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
google()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
응용 프로그램 수준 Gradle을 파일 :
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support.constraint:constraint-layout:1.0.2'
testCompile 'junit:junit:4.12'
//noinspection GradleCompatible
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.google.android.gms:play-services:11.8.0'
}
Android SDK 관리자의 추가 기능인 "Google 리포지토리"도 설치되어 있는지 확인하십시오. –
예, 이미 설치했습니다. –
[Failed To Resolve : com.google.firebase : firebase-firestore : 11.4.2] (https://stackoverflow.com/questions/46569165/failed-to-resolve-com-google- firebasefirebase-firestore11- 4-2) –