Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error:Execution failed for task , finished with non-zero exit value 1

Error:Execution failed for task ':onyxenrollwizardsampleapp:processDebugResources'. com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Android\sdk\build-tools\23.0.2\aapt.exe'' finished with non-zero exit value 1

Here is my Gradle file. Kindly help me out

 apply plugin: 'com.android.application'
    android {
    compileSdkVersion 23
    buildToolsVersion "23.0.2"

    defaultConfig {
        applicationId "com.example.onyx_enroll_wizard_sample_app"
        minSdkVersion 14
        targetSdkVersion 23
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
        }
    }

    lintOptions {
        abortOnError false
    }
}

repositories {
    mavenCentral()

    maven {
        url 'http://nexus.diamondfortress.com/nexus/content/repositories/releases'
    }

    maven {
        url 'http://nexus.diamondfortress.com/nexus/content/repositories/snapshots'
    }
}

dependencies {
    compile 'com.android.support:support-v13:23.0.1'
    compile 'com.dft.android:onyx-enroll-wizard:4.1.3'
}
like image 801
Muhammad Abdullah Avatar asked Nov 21 '15 05:11

Muhammad Abdullah


1 Answers

Go to Build menu - Clear Project, and Rebuild Project, It worked for me..

like image 154
Abraham Flores Avatar answered Sep 21 '22 15:09

Abraham Flores