bekam ich diese Fehlermeldung, wenn ich den Code ausführen ->Android - doppelte Eintrag: com/google/android/gms/intern/zzafz.class Fehler
Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'.>
com.android.build.api.transform.TransformException:
java.util.zip.ZipException: duplicate entry:
com/google/android/gms/internal/zzafz.class
Ich habe keine Ahnung, was tut es bedeutet, und tun Ich befestige es. Ich brauche deine Hilfe Jungs Ich habe treid mehrere Dinge, aber nichts half wirklich, fügte ich "multiDexEnabled true
" und das zu diesem Fehler führen.
Vor diesem Fehler hatte O "android error finished with non-zero exit value 2
". Nachdem ich „multiDexEnabled true
“ hinzugefügt, es gibt mir diese Fehlermeldung:
„duplicate entry: com/google/android/gms/internal/zzafz.class Error
“
Wie kann ich es beheben, wäre jede Hilfe dankbar!
das ist mein Manifest
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.3"
defaultConfig {
applicationId "com.world.bolandian.gpstracker"
minSdkVersion 14
targetSdkVersion 23
versionCode 1
versionName "1.0"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
packagingOptions {
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE-FIREBASE.txt'
exclude 'META-INF/NOTICE'
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.3.0'
compile 'com.google.android.gms:play-services-maps:9.6.1'
compile 'com.google.firebase:firebase-database:9.2.1'
compile 'com.firebase:firebase-client-android:2.3.1'
compile 'com.google.firebase:firebase-auth:9.2.1'
}
apply plugin: 'com.google.gms.google-services'
habe ich versucht, dass und es hat nicht –