-1
Google 프로젝트를 실행할 때 Google 애널리틱스를 구현하고 동시에 내 프로젝트를 실행할 때 몇 가지 Google 인증 종속성을 사용하는 것과 같은 오류가 발생했습니다 ... .. 여기 내 프로젝트를 빌드 할 때 builb.gradle 파일에 오류가 발생했습니다
그것이 내가이Error:Failed to resolve: com.google.android.gms:play-services-measurement:9.2.1
<a href="install.m2.repo">Install Repository and sync project</a><br><a href="openFile:D:/Office Project/RealMilk/app/build.gradle">Open File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>
같은 오류가 발생했습니다
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile project(':volley')
compile project(':materialviewpager')
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:design:23.4.0'
compile 'com.android.support:cardview-v7:23.4.0'
compile 'com.android.support:recyclerview-v7:23.4.0'
compile 'com.android.support:support-v4:23.4.0'
compile 'io.github.yavski:fab-speed-dial:1.0.3'
compile 'com.wdullaer:materialdatetimepicker:2.2.0'
compile 'com.jaredrummler:material-spinner:1.0.5'
compile 'it.neokree:MaterialTabs:0.11'
compile 'com.github.siyamed:android-shape-imageview:[email protected]'
compile 'me.tatarka.support:jobscheduler:0.1.1'
compile 'com.google.android.gms:play-services-auth:9.2.1'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha2'
compile 'com.google.android.gms:play-services-analytics:8.1.0'
testCompile 'junit:junit:4.12'
}
apply plugin: 'com.google.gms.google-services'
(응용 프로그램 레벨) 내 build.gradle입니다 ---이 문제에 대한 해결책을 찾기 위해 도와주세요 미리 감사드립니다. .....
설치 후 Google 리포지토리를 설치해야합니다. –
com.google.android.gms : play-services가 한 개정판인지 확인하십시오. 9.2.1을 사용하는 경우 모두 9.2로 변경하십시오. 1. 그리고 SDK 관리자 –
의 최신 play_service_library 업데이트 프로젝트 버전에서 build.gradle 표시 – TruongHieu