I profile my build follwings instruction in Android:
gradlew --profile --recompile-scripts --offline --rerun-tasks assembleFlavorDebug
I found "UI:platformAttrExtractor" takes a long time, please see the screenshot.
I don't understand what "platformAttrExtractor" is and how can I remove it to save build time?
I have the sample "problem". What I noticed is that by specifying the
--offline
command line option for gradle, build time (and specifically the time taken by the platformAttrExtractor) task is reduced considerably