Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException:

Tags:

android

gradle

This is the output of my gradle console please help me out to solve this error, I am unable to build my 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: com.android.ide.common.process.ProcessException:
Error:Execution failed for task ':lagaiKhai:mergeDebugResources'.
> Error: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: 
Information:BUILD FAILED
Information:Total time: 23.24 secs
Information:2 errors
Information:0 warnings
Information:See complete output in console
like image 621
vishesh268 Avatar asked Jan 18 '17 06:01

vishesh268


1 Answers

I once accidently added .gif file in drawable folder, and faced this issue, if you find any unwanted file in drawable foalder.

Follow the following steps:-

  • Remove all such files which are not recognised by drawable foalder (.gif, 9-patch, etc).
  • Close android studio and start it again
  • Clean and build project again

You are good to go again!

like image 179
Mrinmoy Avatar answered Oct 20 '22 19:10

Mrinmoy