任务':app:transformClassesWithJarMergingForDebug'.执行失败的错误错误
com.android.build.api.transform.TransformException: java.util.zip.ZipException:复制条目:com/google/collect/collect/package-info.class
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
useLibrary 'org.apache.http.legacy'
defaultConfig {
applicationId "gravitykerala.in.donateblood"
minSdkVersion 14
targetSdkVersion 23
versionCode 1
versionName "1.0"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
sourceSets { main { res.srcDirs = ['src/main/res', 'src/main/res/raw'] } }
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
//testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.jakewharton:butterknife:6.1.0'
compile 'com.android.support:design:23.1.1'
compile 'com.github.tibolte:agendacalendarview:1.0.3'
compile 'com.android.support:cardview-v7:23.1.1'
compile 'com.microsoft.azure:azure-mobile-android:3.1.0'
}发布于 2016-06-28 06:39:52
添加
apply plugin: 'com.android.application'这是在第一行
发布于 2016-07-12 04:59:42
这个依赖项是过时的
编译‘com.github.tibolte:agendacal宪兵视图:1.0.3’
https://stackoverflow.com/questions/38068396
复制相似问题