Error: java.util.concurrent.ExecutionException:


Below is the error that is thrown in Console, when you try to Build your Project:

Information:Gradle tasks [:facebook:generateDebugSources, :facebook:mockableAndroidJar, :facebook:prepareDebugUnitTestDependencies, :facebook:generateDebugAndroidTestSources, :lagaiKhai:generateDebugSources, :lagaiKhai:mockableAndroidJar, :lagaiKhai:prepareDebugUnitTestDependencies, :lagaiKhai:generateDebugAndroidTestSources] Error:java.util.concurrent.ExecutionException: Error:Execution failed for task ':lagaiKhai:mergeDebugResources'. > Error: java.util.concurrent.ExecutionException: Information:BUILD FAILED Information:Total time: 23.24 secs Information:2 errors Information:0 warnings Information:See complete output in console


This issue is caused when there are unwanted files in drawable folder. So the solution is very simple, you just have to remove those unwanted files from drawable folder.

Follow below steps to remove the Error:

  • Remove all files with extensions like .gif, 9-patch, etc and all other similar files which is not recognized by drawable folder.
  • Clean and build project again
  • If the problem still persists, try restarting the Android Studio

If you are still facing the same issue, try below lines in build.gradle file: (This solution is not recommended, but can be used for temporary cases)

android { aaptOptions.cruncherEnabled = false aaptOptions.useNewCruncher = false }

Solution Worked 2 UpvotesUpvote


Solution Didn't Worked 0 DownvotesDownvote



Play 2048 Game Online

Play Duckhunt Online

Need Help?

Looking for any Software or Tutorial?
Don't Worry, we will find it for you
Contact Now

Search Tags