0

在 Android 中构建应用程序时出现以下错误:

错误:任务“:app:packageAllDebugClassesForMultiDex”执行失败。java.util.zip.ZipException:重复条目:oauth/signpost/http/HttpResponse.class

我的 build.gradle 看起来像这样:

apply plugin: 'com.android.application'

android {
    compileSdkVersion 22
    buildToolsVersion "22.0.1"

    defaultConfig {
        applicationId "com.example.me.hey"
        minSdkVersion 8
        targetSdkVersion 22
        versionCode 1
        versionName "1.0"
        multiDexEnabled = true
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    compile 'com.android.support:appcompat-v7:22.2.0'
    compile 'com.semantics3:Sem3Java:1.2.2'
    compile files('libs/Sem3Java-1.2.2-jar-with-dependencies.jar')
    compile 'com.android.support:multidex:1.0.0'
}

关于我可能做错了什么的任何想法?

4

0 回答 0