Android 错误:任务';的执行失败:应用程序:dexDebug'&燃气轮机;

Android 错误:任务';的执行失败:应用程序:dexDebug'&燃气轮机;,android,Android,我在尝试运行项目时遇到此错误。这是我的版本。gradle(模块:应用程序)请帮助我 信息:渐变任务[:app:generateDebugSources,:app:generateDebugAndroidTestSources,:app:assembleDebug] :app:预构建最新版本 :app:preDebugBuild-TO-DATE :app:checkDebugManifest :app:prerelease建立最新版本 :lib:compileNet :lib:copyReleas

我在尝试运行项目时遇到此错误。这是我的版本。gradle(模块:应用程序)请帮助我

信息:渐变任务[:app:generateDebugSources,:app:generateDebugAndroidTestSources,:app:assembleDebug] :app:预构建最新版本 :app:preDebugBuild-TO-DATE :app:checkDebugManifest :app:prerelease建立最新版本 :lib:compileNet :lib:copyReleaseLint最新 :lib:preBuild-UP-TO-DATE :lib:preReleaseBuild-TO-DATE :lib:checkReleaseMifest :lib:preDebugAndroidTestBuild-TO-DATE :lib:preDebugBuild-TO-DATE :lib:preDebugUnitTestBuild-TO-DATE :lib:preReleaseUnitTestBuild-UP-DATE :lib:prepareCommandroidSupportAppCompatV72220库最新 :lib:prepareCommandroidSupportCardViewV72220库最新 :lib:PrepareCommandroidSupportV42220库最新 :lib:prepareReleaseDependencies :lib:compileReleaseAidl最新 :lib:compileReleaseRenderscript最新 :lib:generateReleaseBuildConfig最新 :lib:generateReleaseAssets最新 :lib:mergeReleaseAssets最新 :lib:generateReleaseResValues最新 :lib:generateReleaseResources最新 :lib:mergeReleaseResources最新 :lib:ProcessReleaseMifest最新 :lib:processReleaseResources最新 :lib:generateReleaseSources最新 :lib:processReleaseJavaRes最新 :lib:compileReleaseJavaWithJavac最新版本 :lib:extractReleaseAnnotations最新 :lib:mergeReleaseProguardFiles最新 :lib:packageReleaseJar最新 :lib:compileReleaseNdk最新 :lib:packageReleaseJniLibs最新 :lib:packageReleaseLocalJar最新 :lib:packageReleaseRenderscript最新 :lib:PackageReleaseSources最新 :lib:bundleRelease最新 :app:prepareCommandroidSupport AppCompatV72220最新库 :app:PrepareCommandroidSupportCardViewV72220最新库 :app:prepareCommandroidSupportMediaRouterV72220最新库 :app:prepareCommandroidSupportRecycleServiceWV72310最新库 :app:PrepareCommandroidSupportV42310库最新版本 :app:prepareComgoogleandroidgmsplayservices810最新库 :app:prepareComgoogleandroidgmsplayservicesads810最新库 :app:prepareComgoogleandroidgmsplayservicesanalytics810库最新 :app:PrepareComgoogleandroidGMSplayServicesIndexing810Library最新 :app:prepareComgoogleandroidgmsplayservicesapproid库最新 :app:PrepareComgoogleandroidGMSplayServicesAppState810库最新 :app:PrepareComgoogleandroidgmsPlayServicesBase810库最新 :app:PrepareComgoogleandroidgmsPlayServicesBasement810最新库 :app:prepareComGoogleAndroidGmsPlayServicesCast810Library最新 :app:prepareComGoogleAndroidGmsPlayServicesDrive810Library最新 :app:prepareComGoogleAndroidGmsPlayServicesFitness810Library最新 :app:PrepareComgoogleandroidgmsPlayServicesGames810最新库 :app:prepareComGoogleAndroidGmsPlayServicesGcm810Library最新 :app:PrepareComgoogleandroidgmsPlayServiceSideEntity810最新库 :app:prepareComGoogleAndroidGmsPlayServicesLocation810Library最新 :app:prepareComGoogleAndroidGmsPlayServicesMaps810Library最新 :app:PrepareComgoogleandroidgmsPlayServicesMeasure810Library最新 :app:PrepareComgoogleandroidGMSplayServicesNerby810Library最新 :app:prepareComGoogleAndroidGmsPlayServicesPanorama810Library最新 :app:prepareComGoogleAndroidGmsPlayServicesPlus810Library最新 :app:prepareComGoogleAndroidGmsPlayServicesSafetynet810Library最新 :app:prepareComgoogleandroidgmsplayservicesvision810最新库 :app:PrepareComgoogleandroidGMSplayServicesWallet810最新库 :app:PrepareComgoogleandroidgmsPlayServicesWebable810Library最新 :app:prepareComSquareupleakcanaryleakCanaryandroid131最新库 :app:prepareMCSKLibUnspecifiedLibrary最新 :app:preparedebug依赖项 :app:compiledBugaidl最新版本 :app:CompiledBugRenderScript最新版本 :app:generateDebugBuildConfig最新 :app:generateDebugAssets最新 :app:mergeDebugAssets最新 :app:generateDebugResValues最新 :app:generateDebugResources最新 :app:mergeDebugResources最新 :app:processDebugManifest最新 :app:processDebugResources最新 :app:generateDebugSources最新 :app:preDebugAndroidTestBuild-TO-DATE :app:prepareDebugAndroidTestDependencies :app:compiledBugandroidTestAIDL最新 :app:processDebugAndroidTestManifest最新 :app:compiledBugandroidTestRenderScript最新 :app:generateDebugAndroidTestBuildConfig最新 :app:generateDebugAndroidTestAssets最新 :app:mergeDebugAndroidTestAssets最新 :app:generateDebugAndroidTestResValues最新 :app:generateDebugAndroidTestResources最新 :app:mergeDebugAndroidTestResources最新 :app:processDebugAndroidTestResources最新 :app:generateDebugAndroidTestSources最新 :app:processDebugJavaRes最新 :app:CompiledBugJavaWithJavaC最新版本 :app:compiledbugndk最新 :app:CompiledBugSources最新 :app:preDexDebug :app:dexDebug 意外的顶级异常: com.android.dex.DexException:多个dex文件定义Lcom/squareup/picasso/Action$RequestWeakReference; 在com.android.dx.merge.dexmmerge.readSortableTypes上(dexmmerge.java:596) 在com.android.dx.merge.dexmerge.getSortedTypes上(dexmerge.java:554) 位于com.android.dx.merge.dexmerge.mergeClassDefs(dexmerge.java:535) 位于com.android.dx.merge.dexmerge.mergeDexes(dexmerge.java:171) 位于com.android.dx.merge.dexmmerge.merge(dexmmerge.java:189) 位于com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:502) 位于com.android.dx.command.dexer.Main.runMonoDex(Main.java:334) 位于com.android.dx.command.dexer.Main.run(Main.java:277) 位于com.android.dx.command.dexer.Main.Main(Main.java:245) 位于com.android.dx.command.Main.Main(Main.java:106) 错误:任务“”的执行失败:应用程序:dexDe
apply plugin: 'com.android.application'

android {
    compileSdkVersion 23
    buildToolsVersion '23.0.0'enter code here
    useLibrary('org.apache.http.legacy')
    packagingOptions {
        exclude 'META-INF/DEPENDENCIES'
        exclude 'META-INF/NOTICE'
        exclude 'META-INF/LICENSE'
        exclude 'META-INF/LICENSE.txt'
        exclude 'META-INF/NOTICE.txt'
        exclude 'META-INF/ASL2.0'
    }
    defaultConfig {
        applicationId "com.qubit.mcsk"
        minSdkVersion 13
        targetSdkVersion 23
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    productFlavors {
    }
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_7
        targetCompatibility JavaVersion.VERSION_1_7
    }
}


dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    //noinspection GradleDependency
    compile files('libs/gson-2.2.4.jar')
    compile files('libs/android-async-http-1.4.4.jar')
    compile files('libs/crouton-1.8.jar')
    compile files('libs/jackson-core-2.3.3.jar')
    compile files('libs/picasso-2.4.0.jar')
    compile files('libs/systembartint-1.0.4.jar')
    compile files('libs/crouton-1.8.jar')
    compile files('libs/buzzboxSDK-0.6.5.jar')
    compile 'com.android.support:recyclerview-v7:23.1.0'
    compile 'com.google.android.gms:play-services:8.1.0'
    compile 'commons-net:commons-net:1.4.0'
    compile 'com.google.android.gms:play-services-identity:8.1.0'
    compile 'com.google.android.gms:play-services-gcm:8.1.0'
    compile 'com.squareup.picasso:picasso:2.5.0'
    compile 'com.squareup.leakcanary:leakcanary-android:1.3.1'
    compile project(':lib')

}
apply plugin: 'announce'
 apply plugin: 'com.android.library'

android {
    compileSdkVersion 22
    buildToolsVersion "22.0.1"
defaultConfig {
        minSdkVersion 9
        targetSdkVersion 21
        versionCode 7
        versionName "1.2.1"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])

    compile 'com.android.support:appcompat-v7:22.2.0'
    compile 'com.android.support:cardview-v7:22.2.0'
}

//apply from: 'https://raw.github.com/chrisbanes/gradle-mvn-push/master/gradle-mvn-push.gradle'