错误:任务':app:dexDebug'的执行失败。 > com.android.ide.common.process.ProcessException:org.gradle.process.internal.ExecException:

时间:2016-08-24 14:04:01

标签: android-gradle build.gradle

这里我有一个运行Android应用程序的问题任何人都可以帮助我PLZ? 我的Gradle

apply plugin: 'com.android.application'

android {
compileSdkVersion 23
buildToolsVersion "23.0.0 rc2"

defaultConfig {
    applicationId "codemiracle.af.gcmtest"
    minSdkVersion 15
    targetSdkVersion 22
    versionCode 1
    versionName "1.0"
}
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.1.1'
compile 'com.android.support:design:23.1.1'
compile 'com.mcxiaoke.volley:library-aar:1.0.0'
compile 'com.android.support:recyclerview-v7:23.1.1'
compile "com.google.android.gms:play-services:9.0.0"
}

apply plugin: 'com.google.gms.google-services'

和i在运行时出现此错误。

Error:Execution failed for task ':app:dexDebug'.
  

com.android.ide.common.process.ProcessException:org.gradle.process.internal.ExecException:进程'命令'C:\ Program Files \ Java \ jdk1.8.0_25 \ bin \ java.exe''已完成具有非零退出值2

0 个答案:

没有答案