获取错误错误:任务执行失败'错误:任务'执行失败':app:transformClassesWithMultidexlistForDebug'。 > Ĵ

时间:2016-01-23 10:37:34

标签: android

错误:任务':app:transformClassesWithMultidexlistForDebug'的执行失败。 > java.util.NoSuchElementException(无错误消息) 这是app build gradle文件

   android {
        compileSdkVersion 23
        buildToolsVersion "23.0.2"

        repositories {
        mavenCentral()
       }
    defaultConfig {
        ......           
        multiDexEnabled true
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }            
    }
    packagingOptions {
        exclude 'META-INF/ASL2.0'
        exclude 'META-INF/LICENSE'
        exclude 'META-INF/license.txt'
        exclude 'META-INF/NOTICE'
        exclude 'META-INF/notice.txt'
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    testCompile 'junit:junit:4.12'
    compile 'com.android.support:appcompat-v7:23.1.1'
    compile 'org.springframework.android:spring-android-rest-template:2.0.0.M3'
    compile 'com.fasterxml.jackson.core:jackson-databind:2.6.0'
    compile 'com.android.support:design:23.1.1'
    compile 'com.google.android.gms:play-services:6.5.87'
    compile 'com.loopj.android:android-async-http:1.4.9'
    compile 'com.facebook.android:facebook-android-sdk:4.8.0'
}

0 个答案:

没有答案