错误:任务':执行失败:driverMaticsApp:packageAllDebugClassesForMultiDex'。
java.util.zip.ZipException:重复条目:com / flurry / sdk / jv $ a.class
我删除了旧乱序并添加最新版本的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'
}
答案 0 :(得分:-2)
编译'com.android.support:support-v4:22.1.1' compile('com.android.support:appcompat-v7:22.1.1'){exclude module:'support-v4'} 编译('com.facebook.android:facebook-android-sdk:4.2.0'){排除模块:'support-v4'}