Android Studio无法调试错误:任务':app:preDexDebug'.Pl执行失败

时间:2016-08-02 04:50:50

标签: android sdk android-support-library android-studio-2.1

当我运行我的项目时,它会在标题中显示错误。解决方案是什么?

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 个答案:

没有答案