java.util.zip.ZipException: doppelter Eintrag: android/support/v4/accessibilityservice/AccessibilityServiceInfoCompatJellyBeanMr2.class
Ich bin die Integration von mein Projekt in eine andere app in android studio, aber es zeigt die unten Fehler ist, bin ich googeln das Problem aber keine Verwendung.
Error:Execution failed for task ':app:packageAllDebugClassesForMultiDex'.
> java.util.zip.ZipException: duplicate entry: android/support/v4/accessibilityservice/AccessibilityServiceInfoCompatJellyBeanMr2.class
unten ist mein app-Abhängigkeiten
configurations { all*.exclude group: 'com.android.support', module: 'support-annotations' }
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile project(':waleteros')
compile 'com.android.support:recyclerview-v7:+'
compile 'com.squareup.picasso:picasso:2.4.0'
compile 'com.jakewharton:butterknife:5.1.2'
compile files('src/libs/android_sync_service_library.jar')
compile "com.google.android.gms:play-services:3.1.+"
compile('com.crashlytics.sdk.android:crashlytics:2.2.2@aar') {
transitive = true;
}
und hier ist meine Bibliothek Abhängigkeiten
configurations { all*.exclude group: 'com.android.support', module: 'support-v4' }
configurations { all*.exclude group: 'com.android.support', module: 'support-annotations' }
dependencies {
compile project(':ingosdk')
compile 'com.google.code.gson:gson:2.2.4'
compile files('libs/A2iA.Mobility.jar')
compile files('libs/acra-4.5.0.jar')
compile files('libs/bugsense-3.5.jar')
compile files('libs/deviceprint-lib-1.0.0.jar')
compile files('libs/FlurryAnalytics-5.3.0.jar')
compile files('libs/httpmime-4.1.2.jar')
compile files('libs/libGoogleAnalyticsServices.jar')
compile files('libs/volley.jar')
compile 'com.actionbarsherlock:actionbarsherlock:4.4.0@aar'
compile files('libs/android-support-v13.jar')
}
appcompat-v4 definiert ist zweimal irgendwo. Sie haben zu erkunden, Ihre Abhängigkeiten, um es zu finden.
Ich bin auch vor dem gleichen Problem. Helfen
in meinem Fall habe ich gelöscht-support-plugin für gradle und ich löschte auch die jar-Datei von libs
Ich bin auch vor dem gleichen Problem. Helfen
in meinem Fall habe ich gelöscht-support-plugin für gradle und ich löschte auch die jar-Datei von libs
InformationsquelleAutor Ashok | 2015-06-19
Du musst angemeldet sein, um einen Kommentar abzugeben.
Wenn Sie die android-support-v4.jar in Ihrem Ordner libs.. löschen!
Dass mein problem gelöst.
Obwohl die Datei nicht Hinzugefügt zu bauen.gradle gradle-Datei.. enthält es in der build sowieso.
ich didnt finden android-support-v4.jar in meiner libs-Ordner.
InformationsquelleAutor Goran Ch.
Ich hatte das gleiche problem nach der Aktualisierung des android-SDK. Ich war in der Lage zu führen Sie die Anwendung in der
buildToolsVersion '23.0.1'
ich habe die gleiche Fehlermeldung, wenn ich geändertbuildToolsVersion '24.0.3'
Ich löste das problem durch die Aktualisierung der java-version von
1.7 to 1.8
mitcompileSdkVersion 24
InformationsquelleAutor Muhamed Riyas M
Ähnliches Problem, ich würde nur importiert
und war immer diese Fehlermeldung nach dem hinzufügen von "@aar", das problem war gelöst
InformationsquelleAutor DoruChidean
Meiner Meinung nach dieser Fehler passiert ist, ist durch doppelte jar-Datei.
Ich lösche meine support-V4-jar-Datei in "meine Bibliothek" und dann sauber aufzubauen, funktioniert es einwandfrei.
Dank
InformationsquelleAutor Happy Singh