【发布时间】:2016-01-04 06:24:27
【问题描述】:
错误:任务 ':driverMaticsApp:packageAllDebugClassesForMultiDex' 执行失败。
java.util.zip.ZipException:重复条目:com/flurry/sdk/jv$a.class
我删除了旧的flurry并添加了最新版本的flurry然后它显示重复条目的错误:
请帮忙...
这是我的 build.gradle :-
android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
packagingOptions{
exclude("META.INF/LICENSE.txt")
exclude("META.INF/README.txt")
}
lintOptions{
checkReleaseBuilds false
abortOnError false
}
defaultConfig {
compileOptions.encoding = 'windows-1251'
applicationId "com.appname.android"
minSdkVersion 11
targetSdkVersion 17
// Enabling multidex support.
multiDexEnabled true
}
dexOptions {
incremental false
javaMaxHeapSize "4g"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
dependencies {
compile project(':facebookSDK')
compile fileTree(dir:'libs',include:'*.jar')
compile 'com.google.code.gson:gson:2.3'
compile 'com.jakewharton:butterknife:6.0.0'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'org.twitter4j:twitter4j-core:4.0.4'
compile 'com.android.support:appcompat-v7:21.0.3'
compile 'com.google.android.gms:play-services-plus:7.5.0'
compile 'com.google.android.gms:play-services-maps:7.5.0'
compile 'com.google.android.gms:play-services-ads:7.5.0'
}
【问题讨论】:
-
清理并重建项目
-
你能发布你所有的
build.gradle文件吗? -
发布您的
build.gradle.