Skip to content Skip to sidebar Skip to footer

Error: Java.util.concurrent.executionexception: Com.android.ide.common.process.processexception:

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

Solution 1:

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!

Solution 2:

A temporary solution is to place the code below in the module build.gradle:

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

And Sync the Project.Works for me.`

Solution 3:

Try checking all the recentenly added 9patch files. they all must have the content markers on the 4 sides of the image

Solution 4:

I created a 9-Patch file according to https://developer.android.com/studio/write/draw9patch.html, as a result of that, I faced the same error.

I had drew just the parts I wanted to stretch, but not the entire line.

To fix it I drew the entire right and bottom lines of the 9-patch, and the parts I wanted to stretch I did it on the left and top lines.

Solution 5:

I used the Invalidate Cache and Restart Invalidate Cache and Restart option in android studio and it worked for me.

Invalidate Cache and Restart

Post a Comment for "Error: Java.util.concurrent.executionexception: Com.android.ide.common.process.processexception:"