Error: Java.util.concurrent.executionexception: Com.android.ide.common.process.processexception:
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.
Post a Comment for "Error: Java.util.concurrent.executionexception: Com.android.ide.common.process.processexception:"