Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'.
> com.android.build.api.transform.TransformException:
java.util.zip.ZipException: duplicate entry:
com/android/volley/AuthFailureError.class
und das ist meine gradle Build-Datei:ZipException: doppelte Eintrag: com/android/Volley/AuthFailureError
compile fileTree(dir: 'libs', include: ['*.jar'])
//compile 'com.android.support:appcompat-v7:25.3.1'
//compile 'com.facebook.android:facebook-android-sdk:4.14.0'
compile project(path: ':linkedin-sdk')
// compile 'com.mcxiaoke.volley:library-aar:1.0.0'
// compile 'com.android.volley:volley:1.0.0'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.android.support:design:25.3.1'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'com.github.paolorotolo:expandableheightlistview:1.0.0'
compile 'com.android.support:support-v4:23.0.1'
compile 'com.android.support:support-core-utils:25.3.1'
compile 'com.google.android.gms:play-services-maps:9.0.1'
compile 'com.google.android.gms:play-services-location:9.0.1'
compile 'com.squareup.okhttp:okhttp:2.4.0'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:recyclerview-v7:25.1.1'
compile 'com.android.support:cardview-v7:25.1.1'
compile 'com.facebook.android:facebook-android-sdk:[4,5)'
compile 'de.hdodenhof:circleimageview:2.1.0'
compile 'com.mcxiaoke.volley:library:1.0.19'
testCompile 'junit:junit:4.12'
}
Die App arbeitet mit der neuen Version der API in Ordnung.
Aber es hat das Problem mit älteren Versionen der API.
Ich denke, Linked-in ist bereits Volley-Bibliothek mit, so dass es doppelte Ausnahme angezeigt wird. –
Vielen Dank für Ihre Antwort, die App ist auf der vorherigen Version api Geräte installiert, auch wenn ich linkedin Bibliothek von meinem Gradle und Linkedin Integrationscode aus meinem Programm empfehlen. Wie kann ich die linkedin meiner App hinzufügen, die für ältere Version api Geräte passt auch – Arjun
Diese Frage bezieht sich auf Volley. Fühlen Sie sich frei, einen neuen Beitrag speziell über LinkedIn zu erstellen –