2016-06-06 7 views
2

Ohne Applozic Abhängigkeit hängen alle gut.Doppelter Eintrag - Playservice und Applozic

In Projektebene build.gradle ich habe:

buildscript { 
repositories { 
    jcenter() 
} 
dependencies { 
    classpath 'com.android.tools.build:gradle:1.5.0' 
    //classpath 'com.google.gms:google-services:3.0.0' 
    //classpath 'com.google.gms:google-services:1.5.0-beta2' 
    // NOTE: Do not place your application dependencies here; they belong 
    // in the individual module build.gradle files 
} 

In App leves mein build.gradle ist:

dependencies { 

configurations { 
    all*.exclude group: 'xpp3', module: 'xpp3' 
} 
compile fileTree(include: ['*.jar'], dir: 'libs') 
testCompile 'junit:junit:4.12' 
    compile 'com.google.android.gms:play-services-maps:9.0.2' 
    compile 'com.google.android.gms:play-services-location:9.0.2' 
    compile 'com.google.android.gms:play-services-plus:9.0.2' 
    compile 'com.google.android.gms:play-services-auth:9.0.2' 
    compile 'com.applozic.communication.uiwidget:mobicomkitui:4.3' 
} 

Gradle Sync richtig. Wenn ich log laufen produzieren

Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'. 

com.android.build.api.transform.TransformException: java.util.zip.ZipException: doppelte Eintrag: com/google/android/g/iid/ZZB $ zza $ zza..class

Wenn ich applozic Linie alle Arbeit entfernen.

ich ähnliche Frage gefunden, aber nicht wie meine

Antwort

3

Applozic android Chat sdk v4.3 wurde mit Google-Dienste 8.4.0 wegen spielen, dass es doppelten Eintrag gab: com/Google/Android/gms/iid /zzbziaziazza.class Fehler. Wir haben ein Upgrade auf die neueste Version von Google Play Service 9.0.2 durchgeführt. Hier

ist die neue Version

compile 'com.applozic.communication.uiwidget:mobicomkitui:4.4' 

und hier ist der applozic android Chat sdk documentation link

Verwandte Themen