Android execution failed for task application: proguardRelease


I am unable to generate a signed APK for my app, I am stuck with the error Execution failed for task:'app:proguardRelease' I have what I think is a basic gradle file see below

apply plugin: ''

android {
    compileSdkVersion 21
    buildToolsVersion "21.1.1"

    defaultConfig {
        applicationId "com.okason.clients"
        minSdkVersion 16
        targetSdkVersion 21
        versionCode 1
        versionName "1.0"
    buildTypes {
        release {
            minifyEnabled true
            proguardFiles getDefaultProguardFile('proguard-android.txt'), ''

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

The generated file is empty amd I have not touched the proguard-android.txt file in the SDK. I even tried to copy this file to the root of app to be the same location as the app.gradle file without success.

I tried to run this command gradlew.bat assembleRelease per this [SO Question][1] with success. Please can someone take a look and let me know what I am doing wrong. I have update the SDK and Android Studio to the latest versions.

Solved the problem by setting minifyEnabled true to minifyEnabled false in the app.gradle file