错误:任务':app:transformClassesWithJarMergingForDebug'执行失败。 > com.android.build.api.transform.TransformException:java.util.zip.ZipException:重复条目:com / parse / AbstractQueryControlle
并且
My Gradle.build赞:
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.3"
dexOptions {
// Prevent OutOfMemory with MultiDex during the build phase
javaMaxHeapSize "4g"
}
defaultConfig {
multiDexEnabled true
applicationId "myfirstapp.sohail.smartchat"
minSdkVersion 16
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.parse:parse-android:1.13.1'
compile 'com.parse:parseinterceptors:0.0.2'
compile 'com.squareup.picasso:picasso:2.5.2'
}
答案 0 :(得分:0)
parceinceptors
需要在debugCompile
块中compile
而不是dependency
请参阅:https://github.com/ParsePlatform/ParseInterceptors-Android