Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Execution failed for task :':app:mergeDebugResources'. Android Studio

Tags:

android

I've just installed android studio and there's an error I don't know how to fix

enter image description here

like image 861
user3100088 Avatar asked Mar 22 '14 20:03

user3100088


1 Answers

Try clean project...

If it doesn't work... Then... Goto build.gradle in project section

Try downgrading the gradle version

From...

dependencies {
    classpath 'com.android.tools.build:gradle:1.5.0'
}

To...

dependencies {
    classpath 'com.android.tools.build:gradle:1.2.0'
}

Then gradle.properties, add this

 org.gradle.jvmargs=-XX\:MaxHeapSize\=256m -Xmx256m

Sync it... Clean/Rebuild... It worked for me... So, I am sharing...

like image 130
ashumeow Avatar answered Sep 22 '22 12:09

ashumeow