를 제공, 나는 구글 웹 로그 분석을 사용할 필요가 아래 내 build.gradle 파일앱 빌드 내 안드로이드 응용 프로그램에서 오류
dependencies {
compile 'junit:junit:4.12'
compile 'com.android.support:multidex:1.0.1'
compile 'com.android.support:appcompat-v7:23.3.0'
compile 'com.google.android.gms:play-services:9.0.1'
compile 'com.google.android.gms:play-services-analytics:9.0.1'
compile 'com.google.code.gson:gson:2.3.1'
compile files('libs/android-mads-4.5.8.jar')
compile files('libs/ksoap2-android-assembly-3.3.0-jar-with-dependencies.jar')
//compile files('libs/libGoogleAnalyticsServices.jar')
compile files('libs/picasso-2.5.2.jar')
compile 'com.facebook.android:facebook-android-sdk:4.0.0'
}
apply plugin: 'com.google.gms.google-services'
하지만 여전히 나는
Error:(8, 45) error: package com.google.analytics.tracking.android does not exist
안녕, 난이 수준의 빌드 파일을 프로젝트에 추가 할 필요가 가정, 내가 추가 한 것이 클래스 경로 'com.android.tools.build:gradle:2.2.0-alpha3' classpath 'com.google.gms : google-services : 3.0.0' – beginner
예 클래스 패스에서만 내가 보낸 링크의 다른 변경 사항을 확인합니다. – KDeogharkar
나는 벌써 해냈다. 내 것은 너와 아래 대답의 링크에 묘사 된 것과 같다. 그러나 여전히이 문제가 있습니다. 그리고 때로는 빌드 후에도이 오류가 발생합니다 오류 : ': transformClassesWithJarMergingForDebug'작업에 실행하지 못했습니다. > com.android.build.api.transform.TransformException : java.util.zip.ZipException : 중복 항목 : com/google/android/gms/analytics/internal/Command $ 1.class – beginner