Jammo
Jammo

Reputation: 2192

Android Studio Gradle execution failed for task process debug resources

I've searched around and keep having this error. Other posts say "look above" for any clues to why the error is occurring. However, there's nothing apart from the following screenshot:

Gradle Error

Any ideas?

My build.gradle (the one with content) is:

buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:0.5.+'
    }
}
apply plugin: 'android'

repositories {
    mavenCentral()
}

android {
    compileSdkVersion 17
    buildToolsVersion "17.0.0"

    defaultConfig {
        minSdkVersion 16
        targetSdkVersion 16
    }
}

dependencies {
    compile 'com.android.support:support-v4:13.0.0'
}

Many thanks, J

Upvotes: 0

Views: 10001

Answers (2)

user2454458
user2454458

Reputation: 11

Something wrong in resources. Wrong file name or folder. After

Upvotes: 0

Jammo
Jammo

Reputation: 2192

Solved. I was being daft. I made a folder for a custom drawable set of icons ("drawable-flags") and the compiler was kicking up a fuss about that. I've put all the images in one folder now and it's working again.

I also installed an update to Studio which gave me a more thorough error message.

Upvotes: 2

Related Questions