Android Studio无法调试错误

时间:2016-08-02 05:08:26

标签: android android-fragments sdk android-studio-2.0

Error:Execution failed for task ':app:preDexDebug'
    com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.7.0_79\bin\java.exe'' finished with non-zero exit value 1

我正在尝试在调试模式下运行应用程序,但是我收到以下错误:在此输入图像说明 enter image description here

apply plugin: 'com.android.application'

android {
    compileSdkVersion 24
    buildToolsVersion "24.0.0"

   defaultConfig {
        applicationId "com.bangloss.boss.myapplication"
        minSdkVersion 10
        targetSdkVersion 24
        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:24.1.1'
    compile 'com.android.support:design:24.1.1'
}

0 个答案:

没有答案